[Greasemonkey] Removing a script

Stuart Langridge stuart.langridge at gmail.com
Thu Apr 14 21:07:38 EDT 2005

On 4/14/05, Aaron Boodman <zboogs at gmail.com> wrote:
> Can't you skip the loading part and just do
> document.getElementsByTagName("html")[0] = strSourceCodeWithoutJavaScript

Hm. I wasn't sure that that would reload the scripts; imagine that there's

<script src="aBrokenScript.js">
<script src="notBroken.js">

but something in notBroken.js calls something in aBrokenScript.js;
since notBroken.js had already been loaded, I wasn't sure that it'd
get loaded again.

I suppose I could always try it rather than writing email about it, mind. :)


More information about the Greasemonkey mailing list