Access Keys:
Skip to content (Access Key - 0)
Log in (Access Key - 5)



Toggle Sidebar

setPrefValue-action-moly

API Doc

setPrefValue (key, value)

(Molybdenum-only)

Set a Firefox preferences value. The datatype of the value is detected the following way:
if the value is true or false, boolean type is expected,
if the value is starting with characters parseable as integer, integer type is expected,
string type otherwise.

@since 0.7.1
Arguments:

  • key -
    the preferences key, i.e. network.cookie.cookieBehavior
  • value -
    the preferences value to be written.
last edited on Mar 28, 2009 14:40
Adaptavist Theme Builder Powered by Atlassian Confluence