Re:Facebook And Digg Are Stealing Content, Traffic, And Reve...
by jrockway on Sunday April 05, 2009 @09:50AM
(#547373)
I only tried Firefox.
Basically, you can set top = null in the parent page, and it behaves as you expect -- there is no magic going on. But "top" gets reset for the iframe.
I didn't try anything more evil than that, though. I think if the parent script did something like "while(1){}", it could "starve" the iframe of CPU time, and it would never have the chance to change the URL.
At that point, though, I think I would just implement the toolbar as browser chrome.
Basically, you can set top = null in the parent page, and it behaves as you expect -- there is no magic going on. But "top" gets reset for the iframe.
I didn't try anything more evil than that, though. I think if the parent script did something like "while(1){}", it could "starve" the iframe of CPU time, and it would never have the chance to change the URL.
At that point, though, I think I would just implement the toolbar as browser chrome.