If you meant to stop scripts loaded in the normal page then you can't: http://code.google.com/chrome/extensions/content_scripts.html#execution-environment "They ('content scripts') have access to the DOM of the page they are injected into, but not to any JavaScript variables or functions created by the page."
Ernest On Wed, Dec 30, 2009 at 7:28 PM, Ernest Delgado <[email protected]> wrote: > Hi Craig, > Not sure what you mean by "other scripts". Are all your scripts > defined in the 'js' array of the 'content scripts' and you want to > have some order of execution between them? > > Ernest > > On Wed, Dec 23, 2009 at 4:51 PM, craiig <[email protected]> wrote: >> Hi all, >> Is there a way for a content-script to prevent the execution of other >> scripts? >> (Also, Is there a way to prevent certain elements from being >> downloaded at all?) >> >> I've searched around for an answer, but no one seems to have brought >> up this question. This is a very important feature for privacy fans, >> for instance. >> >> I've tried run_at="document_start" and listening for events on the >> DOM, attempting to modify them before anything else was executed, but >> didn't get very far with this approach. >> >> Thanks, >> Craig >> >> -- >> >> You received this message because you are subscribed to the Google Groups >> "Chromium-extensions" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/chromium-extensions?hl=en. >> >> >> > -- You received this message because you are subscribed to the Google Groups "Chromium-extensions" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/chromium-extensions?hl=en.
