[Greasemonkey] Blocking GreaseMonkey script

Johan Sundström oyasumi at gmail.com
Mon Mar 20 18:14:17 EST 2006


> Hello everybody.
>
> I'd like to know if there's any effective way to prevent Greasemonkey
> user scripts from executing???

You can serve pages as content type application/xhtml+xml, and
Greasemonkey will presently fail to inject into them, AFAIK. (This
also affects your abilities to use innerHTML and some other HTML style
DOM functions, though.) Some more info here:

http://72.14.207.104/search?sourceid=navclient-ff&ie=UTF-8&q=cache:http://www.forum4designers.com/archive90-2005-4-216812.html

--
 / Johan Sundström, http://ecmanaut.blogspot.com/


More information about the Greasemonkey mailing list