mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 01:02:08 +01:00
[mv3] Skip some regional lists for the time being
This commit is contained in:
parent
4755a6094e
commit
ffc46534ac
1 changed files with 5 additions and 1 deletions
|
@ -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 a new issue