mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-11 09:31:01 +01:00
parent
de3054b485
commit
b55447635e
1 changed files with 6 additions and 1 deletions
|
@ -241,9 +241,14 @@ var filterDecompiler = (function() {
|
|||
break;
|
||||
case '||a':
|
||||
case '||ah':
|
||||
filter += '||' + tfield0;
|
||||
break;
|
||||
case '||_':
|
||||
case '||_h':
|
||||
filter += '||' + tfield0;
|
||||
if ( tfields[1] === '1' ) { // left-anchored?
|
||||
filter += '|';
|
||||
}
|
||||
break;
|
||||
case '//':
|
||||
case '//h':
|
||||
|
@ -263,12 +268,12 @@ var filterDecompiler = (function() {
|
|||
case '|ah':
|
||||
case 'a|h':
|
||||
case '||ah':
|
||||
case '||_h':
|
||||
case '//h':
|
||||
opts.push('domain=' + tfields[1]);
|
||||
break;
|
||||
case 'ah':
|
||||
case '_h':
|
||||
case '||_h':
|
||||
opts.push('domain=' + tfields[2]);
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue