Alex McGill Alex McGill - 5 months ago 238x
HTML Question

Strange iframe added into body tags called rufous-sandbox

I'm working on a local Wordpress site, and for some reason theres an iframe added just after the opening body tag which makes the body to drop down about 20px.

Google only returned 1 relevant result when searching for it, and what I read there didn't help much. It can be found here

As I said on the Wordpress site (user AMG999222) Theres no plugins installed on this site, and setting it to display: none; doesn't work.

Here's a screenshot from Chrome so you can see:

enter image description here


It's seems like it is added by the Twitter script. If you remove it the iframe will disappear. It sure looks like you have the Twitter plugin installed in some way or the other as you can see it says data-twttr-rendered="true" in the body tag.

If you remove the code - in my case the code below - it will disappear

<script type="text/javascript">
    var twitterWidgets = document.createElement('script');
    twitterWidgets.type = 'text/javascript';
    twitterWidgets.async = true;
    twitterWidgets.src = '//';