1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-24 11:22:44 +01:00
This commit is contained in:
gorhill 2014-11-03 08:15:28 -05:00
parent a5ea696cf1
commit bcfd809797

View File

@ -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);