Adblock Plus preferences
The following table lists and explains all preferences that are used by Adblock Plus. These preferences can be viewed and changed via about:config.
| Preference | Default value | Comments |
|---|---|---|
| Visible options | ||
| extensions. adblockplus. enabled |
true | Value of the “Enable Adblock Plus” option |
| extensions. adblockplus. frameobjects |
true | Value of the “Show tabs on Flash and Java” option |
| extensions. adblockplus. fastcollapse |
false | Reverse of the “Collapse blocked elements” option |
| extensions. adblockplus. showintoolbar |
true | Value of the “Show in toolbar” option |
| extensions. adblockplus. showinstatusbar |
false | Value of the “Show in status bar” option |
| extensions. adblockplus. hideimagemanager |
true | When set to true Adblock Plus will hide image manager’s entry in the context menu (“Block Images from …”). This won’t happen if the image manager already has blocking entries. Note: This setting will only apply after the browser is restarted. |
| extensions. adblockplus. synchronizationinterval |
24 | Minimal interval between two subsequent downloads of a subscription (in hours) |
| extensions. adblockplus. patternsfile |
adblockplus/ patterns.ini | Name of the file that should be used to store the list of filters. This can be either an absolute path, or it can be file’s location relative to the user’s profile. |
| extensions. adblockplus. patternsbackups |
5 | Number of backups for patterns.ini that should be kept. If this is 0, backups will be disabled. |
| extensions. adblockplus. patternsbackupinterval |
24 | Minimal interval between two backups of patterns.ini (in hours) |
| extensions. adblockplus. defaulttoolbaraction |
1 | Defines the action that should be executed when the toolbar icon is clicked. Possible values are: 0 — show menu 1 — open/close blockable items 2 — show Preferences dialog 3 — enable/disable Adblock Plus anything else — do nothing |
| extensions. adblockplus. defaultstatusbaraction |
2 | Defines the action that should be executed when the status bar icon is clicked. For list of possible values see defaulttoolbaraction above. |
| extensions. adblockplus. sidebar_key |
Accel Shift V | Defines the keyboard shortcut to be used to open blockable items. This preference can be empty or it can be of the form modifier1 modifier2 key. Recognized modifiers are: Shift, Accel (default accelerator key, e.g. Ctrl on Windows, Command on Mac OS X), Ctrl/Control, Alt, Meta. Key can be either a letter or a special key like F7 or RIGHT (see nsIDOMKeyEvent interface for a list of special keys). Note: This setting will only apply after the browser is restarted. |
| extensions. adblockplus. settings_key |
Accel Shift E | Defines the keyboard shortcut to be used to open Preferences dialog. For description of possible values see sidebar_key above. Note: This setting will only apply after the browser is restarted. |
| extensions. adblockplus. enable_key |
empty | Defines the keyboard shortcut to be used to enable/disable Adblock Plus. For description of possible values see sidebar_key above. Note: This setting will only apply after the browser is restarted. |
| extensions. adblockplus. flash_scrolltoitem |
true | Defines whether “Flash item’s borders” in the list of blockable items should try to scroll the item into view. |
| extensions. adblockplus. previewimages |
true | Defines whether the tooltip in the list of blockable items should show the image that the item represents. |
| extensions. adblockplus. subscriptions_fallbackurl |
Address of the script that should be consulted if a subscription fails to download a certain number of times (see subscriptions_fallbackerrors below). %s is replaced by the address of the subscription in question. The script should print something like “301 http://example.com/new_list.txt” if the new location of the subscription is known. | |
| extensions. adblockplus. subscriptions_fallbackerrors |
50 | Sets the required number of failed subscription download attempts before the fallback script (see subscriptions_fallbackurl above) will be consulted for the new address of the subscription. Note that Adblock Plus will always retry a download one hour after a failed download attempt. |
| Remembered actions | ||
| extensions. adblockplus. warnregexp |
true | Is set to false when the user chooses not to be warned about adding a regular expression any more |
| extensions. adblockplus. detachsidebar |
false | Stores state of the list of blockable items — true means detached |
| extensions. adblockplus. checktoolbar |
false | Is set to true after Adblock Plus added its icon to the toolbar on first start — should only be done once |
| extensions. adblockplus. checkedadblockinstalled |
false | Is set to true after Adblock Plus checked whether Adblock/Adblock Plus 0.5 is running — the user should get this warning only once |
| Internal preferences (don’t change unless you really know what you are doing) | ||
| extensions. adblockplus. whitelistschemes |
about chrome file irc keyword mailto news resource snews x-jsd addbook cid imap mailbox nntp pop data javascript | List of URL schemes that shouldn’t be blocked (applied to both whole documents and to item locations) |
| extensions. adblockplus. protectchrome.* |
Any preference named like this is interpreted as a chrome namespace that should be protected from probing by content pages (work-around for bug 292789). So if there is a preference extensions. adblockplus. protectchrome. something with value mysidebar, any access from content pages to chrome://mysidebar/ addresses will be disallowed. By default only the chrome://adblockplus/ namespace is protected but other extensions can use this protection as well. |
|
| Removed preferences | ||
| extensions. adblockplus. blocklocalpages |
Unused in Adblock Plus 0.7.5 and higher | |
| extensions. adblockplus. blocktypes |
Unused in Adblock Plus 0.7.5 and higher | |
| extensions. adblockplus. checkedadblockprefs |
Unused in Adblock Plus 0.7.5 and higher | |
| extensions. adblockplus. checkedadblocksync |
Unused in Adblock Plus 0.7.5 and higher | |
| extensions. adblockplus. grouporder |
Unused in Adblock Plus 0.7.5 and higher | |
| extensions. adblockplus. linktypes |
Unused in Adblock Plus 0.7.5 and higher | |
| extensions. adblockplus. localschemes |
Unused in Adblock Plus 0.7.5 and higher | |
| extensions. adblockplus. noncollapsabletypes |
Unused in Adblock Plus 0.7.5 and higher | |
| extensions. adblockplus. patterns |
Unused in Adblock Plus 0.7.5 and higher | |
| extensions. adblockplus. linkcheck |
Unused in Adblock Plus 0.7.5.4 and higher | |
