mirror of
https://github.com/gorhill/uBlock.git
synced 2024-10-06 09:37:12 +02:00
Fix logging of broad exception filter #@#+js()
Related feedback: https://github.com/uBlockOrigin/uBlock-discussions/discussions/843 Regression from: https://github.com/gorhill/uBlock/commit/1a863a877d
This commit is contained in:
parent
a3e3cd9216
commit
4305ea9c0c
@ -409,11 +409,7 @@ scriptletFilteringEngine.retrieve = function(request) {
|
|||||||
|
|
||||||
// Wholly disable scriptlet injection?
|
// Wholly disable scriptlet injection?
|
||||||
if ( $exceptions.has('[]') ) {
|
if ( $exceptions.has('[]') ) {
|
||||||
return {
|
return { filters: '#@#+js()' };
|
||||||
filters: [
|
|
||||||
{ tabId: request.tabId, url: request.url, filter: '#@#+js()' }
|
|
||||||
]
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
for ( const token of $exceptions ) {
|
for ( const token of $exceptions ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user