mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-22 10:22:51 +01:00
[mv3] Skip some regional lists for the time being
This commit is contained in:
parent
4755a6094e
commit
ffc46534ac
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user