Class Index | File Index

Classes


Class Prefs


Defined in: Prefs.jsm.

Class Summary
Constructor Attributes Constructor Name and Description
 
Prefs()
This object allows easy access to Adblock Plus preferences, all defined preferences will be available as its members.
Field Summary
Field Attributes Field Name and Description
<static>  
Retrieves the preferences branch containing default preference values.
<static>  
Prefs.patternsfile
Backwards compatibility, this pref is optional
<static>  
Will be set to true if the user enters private browsing mode.
Method Summary
Method Attributes Method Name and Description
<static>  
Prefs.addListener(listener)
Adds a preferences listener that will be fired whenever preferences are reloaded
<static>  
Prefs.removeListener(listener)
Removes a preferences listener
<static>  
Prefs.shutdown()
Called on module shutdown.
<static>  
Prefs.startup()
Called on module startup.
Class Detail
Prefs()
This object allows easy access to Adblock Plus preferences, all defined preferences will be available as its members.
Field Detail
<static> Prefs.defaultBranch
Retrieves the preferences branch containing default preference values.

<static> Prefs.patternsfile
Backwards compatibility, this pref is optional

<static> {Boolean} Prefs.privateBrowsing
Will be set to true if the user enters private browsing mode.
Method Detail
<static> Prefs.addListener(listener)
Adds a preferences listener that will be fired whenever preferences are reloaded
Parameters:
{Function} listener

<static> Prefs.removeListener(listener)
Removes a preferences listener
Parameters:
{Function} listener

<static> Prefs.shutdown()
Called on module shutdown.

<static> Prefs.startup()
Called on module startup.

Documentation generated by JsDoc Toolkit 2.3.2 on Wed May 09 2012 10:50:20 GMT+0000 (UTC)