[Greasemonkey] Can greasemonkey set user prefs?

beejamin ben at caramel.com.au
Wed Aug 23 21:29:19 EDT 2006


Hi all,

Looked around for an answer to this, but to no avail.

Is it possible for a greasemonkey script to alter any of the Firefox
settings (normally set in prefs.js or User.js on the fly? 

I understand the ability to do this would be a major security hole for a
public website. I'm trying to find a way to select/change print settings per
page on an internal web app (not public-facing). Specifially, I'd like to be
able to set the default printer and margins when the user loads a particular
page.

Greasemonkey is looking like the most likely option, though I have the
suspicion that Firefox is going to deny this sort of request because it has
the potential for such damage.

Any ideas? Thanks in advance!

Beej


-- 
View this message in context: http://www.nabble.com/Can-greasemonkey-set-user-prefs--tf2156333.html#a5956966
Sent from the MozDev - greasemonkey forum at Nabble.com.



More information about the Greasemonkey mailing list