News for hackers. Stuff that matters.
Re:Facebook And Digg Are Stealing Content, Traffic, And Reve... by jrockway on Sunday April 05, 2009 @01:51AM (#547119)
It turns out that I am wrong:

http://gist.github.com/90381

Re:Facebook And Digg Are Stealing Content, Traffic, And Reve... by kwamenum86 on Sunday April 05, 2009 @02:35AM (#547152)
Were you able to get it working in any browsers or did you discover it does not work at all later? That would be a huge loophole if it worked in any browser under any circumstances.
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.