Skip to content

Commit

Permalink
Fix logging of broad exception filter #@#+js()
Browse files Browse the repository at this point in the history
Related feedback:
uBlockOrigin/uBlock-discussions#843

Regression from:
1a863a877d
  • Loading branch information
gorhill committed Dec 12, 2023
1 parent a3e3cd9 commit 4305ea9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/js/scriptlet-filtering.js
Expand Up @@ -409,11 +409,7 @@ scriptletFilteringEngine.retrieve = function(request) {

// Wholly disable scriptlet injection?
if ( $exceptions.has('[]') ) {
return {
filters: [
{ tabId: request.tabId, url: request.url, filter: '#@#+js()' }
]
};
return { filters: '#@#+js()' };
}

for ( const token of $exceptions ) {
Expand Down

0 comments on commit 4305ea9

Please sign in to comment.