We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a454a7a commit 93d379cCopy full SHA for 93d379c
chromium/background.js
@@ -184,7 +184,7 @@ function onBeforeRequest(details) {
184
185
var rs = all_rules.potentiallyApplicableRulesets(uri.hostname());
186
// If no rulesets could apply, let's get out of here!
187
- if (rs.length === 0) { return; }
+ if (rs.length === 0) { return {cancel: shouldCancel}; }
188
189
if (redirectCounter[details.requestId] >= 8) {
190
log(NOTE, "Redirect counter hit for " + canonical_url);
0 commit comments