Changes

Jump to: navigation, search

Extension Blocklisting:Code Design

256 bytes added, 23:04, 14 February 2006
m
Blacklist syntax
== Blacklist syntax ==
* Blacklist file has a flexible xml syntax:  <entryType> that will use default values for values that are not specified. All Extension Manager items must be children of <extension IDtt> [emItems<minVersion/tt> <maxVersion>] entryType can be "forbid" to force an extension (with optional version range) to be disabled, or "permit" to exempt a given extension (usually with version) from blacklisting. If minVersion is specified, maxVersion must also be specified (though they can be equal). Versions are compared inclusively. The blacklist file is processed in order, and to ease the first rule found use of this file for additional blacklist items such as plugins that matches a given extension determines if the extension is disabled (forbid rule found) or not (permit rule found). If no matching rule is found, the extension is permitted (are not disabled by the blacklist). Blank lines are skipped, and # introduces a comment running until the end part of the linean Extension Manager managed item.
Examples:
</emItems>
</blacklist></pre>
* The item_1@domain Extension Manager item will be blacklisted if a version between 1.0 and 2.0.* (e.g. less than 3.0) is installed and the Firefox (e.g. id {ec8030f7-c20a-464f-9b0e-13a3a9e97384}) version is between 1.5 and 1.5.* (e.g. less than 1.6), the Firefox version is between 1.7 and 1.7.* (e.g. less than 1.8), or the Toolkit version is between 1.8 and 1.8.* (e.g. less than 1.9). Also, the item_1@domain Extension Manager item will be blacklisted if a version between 3.0 and 3.0.* (e.g. less than 4.0) is installed and the Firefox (e.g. id {ec8030f7-c20a-464f-9b0e-13a3a9e97384}) version is between 1.5 and 1.5.* (e.g. less than 1.6) or the Toolkit version is between 1.8 and 1.8.* (e.g. less than 1.9).
Confirm
1,041
edits

Navigation menu