Hey everyone, I am building a plugin for chrome atm and I am having trouble getting it to work reliably. Here's what it needs to do:
When a user navigates to a webpage, it needs to clear all the html from the page, insert and iframe, and then load the current page inside the iframe.
I have it set up and it works just fine on some sites right now, but on some sites that have alot of ads and javascript, sometimes even deleting the entire head and body tags of all their content doesn't seem to work, somehow javascript files still are getting injected into the body of the document.
Does anyone know why this might be happening? I would have thought that by deleting all the contents of the page, and then reloading the page in an iframe, there would be no way that the page could manipulate the DOM outside of the iframe.
Thanks in advance for your help!


LinkBack URL
About LinkBacks



Reply With Quote
