mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-15 07:22:28 +02:00
Use removeparam
, queryprune
is deprecated
This commit is contained in:
parent
7428e117b5
commit
1becd8ad18
@ -171,7 +171,7 @@ const loadBenchmarkDataset = (( ) => {
|
|||||||
else if ( r === 2 ) { allowCount += 1; }
|
else if ( r === 2 ) { allowCount += 1; }
|
||||||
if ( r !== 1 ) {
|
if ( r !== 1 ) {
|
||||||
if ( staticNetFilteringEngine.hasQuery(fctxt) ) {
|
if ( staticNetFilteringEngine.hasQuery(fctxt) ) {
|
||||||
staticNetFilteringEngine.filterQuery(fctxt, 'queryprune');
|
staticNetFilteringEngine.filterQuery(fctxt, 'removeparam');
|
||||||
}
|
}
|
||||||
if ( fctxt.type === 'main_frame' || fctxt.type === 'sub_frame' ) {
|
if ( fctxt.type === 'main_frame' || fctxt.type === 'sub_frame' ) {
|
||||||
staticNetFilteringEngine.matchAndFetchModifiers(fctxt, 'csp');
|
staticNetFilteringEngine.matchAndFetchModifiers(fctxt, 'csp');
|
||||||
|
Loading…
Reference in New Issue
Block a user