homepage Welcome to WebmasterWorld Guest from 54.227.56.174
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld
Home / Forums Index / Social Media / Twitter
Forum Library, Charter, Moderators: rumbas

Twitter Forum

    
Tweet Button Encloses Your Page In iFrame
rufous-sandbox - What does it do?
IanTurner




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

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>
<html>
<head>
<script>
try { window.parent.document; }catch (e) {document.domain="www.example.com";}
</script>
</head>
<body></body>
</html>
</iframe>
</body>


(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.

 

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Social Media / Twitter
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved