From bcfd8097978fb70c49ca89c32471c8a6171c0049 Mon Sep 17 00:00:00 2001 From: gorhill Date: Mon, 3 Nov 2014 08:15:28 -0500 Subject: [PATCH] this fixes #351 --- js/traffic.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/traffic.js b/js/traffic.js index 2811031d2..19e042a0a 100644 --- a/js/traffic.js +++ b/js/traffic.js @@ -99,7 +99,9 @@ var onBeforeRequest = function(details) { pageStore.addFrame(frameId, requestURL); } - if ( µb.userSettings.experimentalEnabled ) { + // https://github.com/gorhill/uBlock/issues/351 + // Bypass experimental features when disabled for a site + if ( µb.userSettings.experimentalEnabled && pageStore.getNetFilteringSwitch() ) { // https://code.google.com/p/chromium/issues/detail?id=387198 // Not all redirects will succeed, until bug above is fixed. var redirectURL = µb.mirrors.toURL(requestURL, true);