diff options
author | gorhill <rhill@raymondhill.net> | 2015-04-09 11:19:31 -0400 |
---|---|---|
committer | gorhill <rhill@raymondhill.net> | 2015-04-09 11:19:31 -0400 |
commit | 651c25c8395aeb4d05dd345a4335b794dbdd506c (patch) | |
tree | 6c3eeabde3d13a66f362d1ba6b3200458f771aeb /src/js/pagestore.js | |
parent | fcfdfdf9c3dfa9c433289bd642b6ea0a7a667eba (diff) | |
download | uBlock-651c25c8395aeb4d05dd345a4335b794dbdd506c.zip uBlock-651c25c8395aeb4d05dd345a4335b794dbdd506c.tar.gz uBlock-651c25c8395aeb4d05dd345a4335b794dbdd506c.tar.bz2 |
fixed popup blocker switch; added ability to manually edit switches
Diffstat (limited to 'src/js/pagestore.js')
-rw-r--r-- | src/js/pagestore.js | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/js/pagestore.js b/src/js/pagestore.js index d4bb7a4..2903491 100644 --- a/src/js/pagestore.js +++ b/src/js/pagestore.js @@ -497,11 +497,7 @@ PageStore.prototype.init = function(tabId) { /******************************************************************************/ PageStore.prototype.reuse = function(context) { - // We can't do this: when force refreshing a page, the page store data - // needs to be reset - //if ( pageURL === this.pageURL ) { - // return this; - //} + // When force refreshing a page, the page store data needs to be reset. // If the hostname changes, we can't merely just update the context. var tabContext = µb.tabContextManager.lookup(this.tabId); @@ -635,7 +631,7 @@ PageStore.prototype.getSpecificCosmeticFilteringSwitch = function() { var tabContext = µb.tabContextManager.lookup(this.tabId); - if ( µb.hnSwitches.evaluateZ('noCosmeticFiltering', tabContext.rootHostname) ) { + if ( µb.hnSwitches.evaluateZ('no-cosmetic-filtering', tabContext.rootHostname) ) { return false; } |