[Greasemonkey] Safely dropping privileges?
Mook
mook.moz+sites.org.mozdev.lists.greasemonkey at gmail.com
Wed Apr 5 01:11:20 EDT 2006
Hi,
I want to write a user script that:
1) Does not need any of the elevated privileges provided by Greasemonkey (GM_*)
2) Needs to poke unsafeWindow a lot
Since I don't really want to trust the web site, can I somehow drop my
privileges safely and make sure I don't become a path of exploitation?
Is the best I can do to iterate through the properties of | window |
and deleting anything matching /^GM_/ ? (I am mostly afraid of
missing stuff...)
Asking the list because this seems like something many would want, and
yet nobody has mentioned...
--
Mook
mook.moz at gmail
More information about the Greasemonkey
mailing list