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

Compare commits

..

No commits in common. "3aaff8604d46d9c57671835c80727a6469a900ec" and "aaceabeba1b54d07c5ec7045193821a3f4bd5b8e" have entirely different histories.

3 changed files with 3 additions and 7 deletions

View File

@ -634,7 +634,7 @@
"title": "🇭🇺hu: hufilter", "title": "🇭🇺hu: hufilter",
"tags": "ads hungarian", "tags": "ads hungarian",
"lang": "hu", "lang": "hu",
"contentURL": "https://cdn.jsdelivr.net/gh/hufilter/hufilter@gh-pages/hufilter-ublock.txt", "contentURL": "https://raw.githubusercontent.com/hufilter/hufilter/master/hufilter-ublock.txt",
"supportURL": "https://github.com/hufilter/hufilter" "supportURL": "https://github.com/hufilter/hufilter"
}, },
"IDN-0": { "IDN-0": {

View File

@ -634,7 +634,7 @@
"title": "🇭🇺hu: hufilter", "title": "🇭🇺hu: hufilter",
"tags": "ads hungarian", "tags": "ads hungarian",
"lang": "hu", "lang": "hu",
"contentURL": "https://cdn.jsdelivr.net/gh/hufilter/hufilter@gh-pages/hufilter-ublock.txt", "contentURL": "https://raw.githubusercontent.com/hufilter/hufilter/master/hufilter-ublock.txt",
"supportURL": "https://github.com/hufilter/hufilter" "supportURL": "https://github.com/hufilter/hufilter"
}, },
"IDN-0": { "IDN-0": {

View File

@ -188,11 +188,7 @@ class PSelectorMatchesPropTask extends PSelectorTask {
if ( value === null ) { return; } if ( value === null ) { return; }
value = value[prop]; value = value[prop];
} }
if ( this.reValue === null ) { if ( this.reValue !== null && this.reValue.test(value) === false ) { return; }
if ( value === undefined ) { return; }
} else if ( this.reValue.test(value) === false ) {
return;
}
output.push(node); output.push(node);
} }
} }