mirror of https://github.com/gorhill/uBlock.git
Add support for more `!#if` pre-parser directive tokens
Related issue: - https://github.com/uBlockOrigin/uBlock-issues/issues/1205
This commit is contained in:
parent
45f26d7319
commit
00b790ce72
|
@ -951,14 +951,23 @@ self.addEventListener('hiddenSettingsChanged', ( ) => {
|
||||||
[ 'cap_html_filtering', 'html_filtering' ],
|
[ 'cap_html_filtering', 'html_filtering' ],
|
||||||
[ 'cap_user_stylesheet', 'user_stylesheet' ],
|
[ 'cap_user_stylesheet', 'user_stylesheet' ],
|
||||||
[ 'false', 'false' ],
|
[ 'false', 'false' ],
|
||||||
|
// Hoping ABP-only list maintainers can at least make use of it to
|
||||||
|
// help non-ABP content blockers better deal with filter benefiting
|
||||||
|
// only ABP.
|
||||||
|
[ 'ext_abp', 'false' ],
|
||||||
// Compatibility with other blockers
|
// Compatibility with other blockers
|
||||||
// https://kb.adguard.com/en/general/how-to-create-your-own-ad-filters#adguard-specific
|
// https://kb.adguard.com/en/general/how-to-create-your-own-ad-filters#adguard-specific
|
||||||
[ 'adguard', 'adguard' ],
|
[ 'adguard', 'adguard' ],
|
||||||
|
[ 'adguard_app_android', 'false' ],
|
||||||
|
[ 'adguard_app_ios', 'false' ],
|
||||||
|
[ 'adguard_app_mac', 'false' ],
|
||||||
[ 'adguard_app_windows', 'false' ],
|
[ 'adguard_app_windows', 'false' ],
|
||||||
|
[ 'adguard_ext_android_cb', 'false' ],
|
||||||
[ 'adguard_ext_chromium', 'chromium' ],
|
[ 'adguard_ext_chromium', 'chromium' ],
|
||||||
[ 'adguard_ext_edge', 'edge' ],
|
[ 'adguard_ext_edge', 'edge' ],
|
||||||
[ 'adguard_ext_firefox', 'firefox' ],
|
[ 'adguard_ext_firefox', 'firefox' ],
|
||||||
[ 'adguard_ext_opera', 'chromium' ],
|
[ 'adguard_ext_opera', 'chromium' ],
|
||||||
|
[ 'adguard_ext_safari', 'false' ],
|
||||||
]),
|
]),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue