Welcome to WebmasterWorld Guest from

Forum Moderators: not2easy & rumbas

Message Too Old, No Replies

Tweet Button Encloses Your Page In iFrame

rufous-sandbox - What does it do?

10:46 am on Aug 29, 2012 (gmt 0)

Moderator from GB 

WebmasterWorld Administrator ianturner is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:July 19, 2001
posts: 3452
votes: 10

Okay I'm seeing a bizarre situation where the tweet button inserts an iframe into your content as below:

<body data-twttr-rendered="true">
<div align="center">
<iframe id="rufous-sandbox" scrolling="no" frameborder="0" style="display: none;">
<!DOCTYPE html>
try { window.parent.document; }catch (e) {document.domain="www.example.com";}

(example.com repaces actual domain in code above)

I was looking at the page in Firebug to try and improve the layout a bit when I noticed this.

Testing in Opera Dragonfly and IE Developer tools revealed the same behaviour.

Removing the Tweet button caused the page to render as expected without the iframe.