nsISupports
Last changed in Gecko 29 (Firefox 29 / Thunderbird 29 / SeaMonkey 2.26)
unsigned long getAddonBlocklistState(in jsval addon, [optional] in AString appVersion, [optional] in AString toolkitVersion); |
unsigned long getPluginBlocklistState(in nsIPluginTag plugin, [optional] in AString appVersion, [optional] in AString toolkitVersion); |
boolean isAddonBlocklisted(in jsval addon, [optional] in AString appVersion, [optional] in AString toolkitVersion); |
Constant | Value | Description |
STATE_NOT_BLOCKED |
0 |
|
STATE_SOFTBLOCKED |
1 |
|
STATE_BLOCKED |
2 |
|
STATE_OUTDATED |
3 |
Determine the blocklist state of an add-on.
unsigned long getAddonBlocklistState( in jsval addon, in AString appVersion, Optional in AString toolkitVersion Optional );
addon
appVersion
Optionalnull
, the version of the running application is used.toolkitVersion
Optionalnull
, the version of the running toolkit is used.The blocklist state of the add-on, one of the Constants.
Determine the blocklist state of a plugin.
unsigned long getPluginBlocklistState( in nsIPluginTag plugin, in AString appVersion, Optional in AString toolkitVersion Optional );
plugin
appVersion
Optionalnull
, the version of the running application is used.toolkitVersion
Optionalnull
, the version of the running toolkit is used.The blocklist state of the plugin, one of the Constants.
Determine if an item is blocklisted.
boolean isAddonBlocklisted( in jsval addon, in AString appVersion, Optional from Gecko 1.9.1 in AString toolkitVersion Optional from Gecko 1.9.1 );
addon
appVersion
Optional from Gecko 1.9.1null
, the version of the running application is used.toolkitVersion
Optional from Gecko 1.9.1null
, the version of the running toolkit is used.true
if the item is blocklisted, otherwise false
.