if you have a page that contains iframes and one of the iframes
contains the following code:
http://pastebin.mozilla.org/693696then the structure of the page is broken and the iframe has "broken
out of the frames". this is a security measure (sort of) for the
owners of the iframed pages who don't want their content to be framed
like that.
there's no way to overcome it via simple Javascript from the HTML
document itself
however, since extensions have more power in this area, is there a way
to disable framebreaking code with an extension running in browser.xul
scope.
in other words, i need to disable, for a certain tab's window, the
javascript calls of its iframes that could change the top.location
property
i have tried to watch for the change of top.location, but it just
doesn't seem to work.
any ideas?