I'm working on a user script that uses GM_getValue to allow defining preferences for a script using about:config. The script has an @grant for GM_getValue, GM_setValue, and GM_xmlhttpRequest, and an @include for an https page and 2 @includes for http pages (as well as @name and @namespace). The script runs on all 3 pages. However, on the http pages, GM_getValue('name', true) returns undefined, while on the https page it returns the correct value (the about:config setting or true). Is this on purpose? I can't see anything on the wiki that mentions this.

Unfortunately the script is thousands of lines long and only works on company internal websites, so even if I could post it (or a suitable subset) it wouldn't work for anyone outside my company.

Thanks,
Brian

--
You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/greasemonkey-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to