Talk:GM.setValue: Difference between revisions

From GreaseSpot Wiki
Jump to navigationJump to search
No edit summary
m (Discussion)
Line 1: Line 1:
How can I clear values from Firefox preferences set by my Greasemonkey script?
<sup>[noref]</sup>
:How can I clear values from Firefox preferences set by my Greasemonkey script?
 
:Currently there is no API for this.
 
<sup>[[GM_setValue#Syntax|[2]]]</sup>
:The [http://wiki.greasespot.net/index.php?title=GM_setValue&diff=2182&oldid=2175 previous incarnation of this article] had an example of alert(GM_setValue("foo", "bar"));. Currently miscapis.js and prefmanager.js does not have any return statements.
 
:If this is a desired behavior for GM developers to pursue, it will need to be corrected in the trunk.

Revision as of 21:50, 3 January 2008

[noref]

How can I clear values from Firefox preferences set by my Greasemonkey script?
Currently there is no API for this.

[2]

The previous incarnation of this article had an example of alert(GM_setValue("foo", "bar"));. Currently miscapis.js and prefmanager.js does not have any return statements.
If this is a desired behavior for GM developers to pursue, it will need to be corrected in the trunk.