1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-05 11:37:01 +02:00

[mv3] Skip some regional lists for the time being

This commit is contained in:
Raymond Hill 2022-09-24 18:36:28 -04:00
parent 4755a6094e
commit ffc46534ac
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -918,11 +918,15 @@ async function main() {
});
// Regional rulesets
const excludedLists = [
'ara-0',
'EST-0',
];
for ( const [ id, asset ] of Object.entries(assets) ) {
if ( asset.content !== 'filters' ) { continue; }
if ( asset.off !== true ) { continue; }
if ( typeof asset.lang !== 'string' ) { continue; }
if ( excludedLists.includes(id) ) { continue; }
const contentURL = Array.isArray(asset.contentURL)
? asset.contentURL[0]
: asset.contentURL;