GM_deleteValue

From GreaseSpot

Jump to: navigation, search


Contents

[edit] Description

This method deletes an existing persistent value See GM_setValue for details on the storage of these values.

[edit] Syntax

function GM_deleteValue( name )

Compatibility: Greasemonkey 0.8.1+

[edit] Arguments

name
Property name to delete. See GM_setValue for details.

[edit] Returns

undefined

[edit] Examples

GM_deleteValue("foo");

[edit] See Also

[edit] Notes

An issue that some may encounter on some platforms is that the values appear to not be deleted or set. This is usually due to a refreshing issue in the browser. If about:config is refreshed in the window/tab this should resolve any questions about stability of setting and deleting system preferences.

Personal tools