mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-07 03:12:33 +01:00
oops: forgot about why we can't do this. Will leave the commented out code in there as a reminder.
This commit is contained in:
parent
e750e99ffa
commit
53b55a6b13
@ -508,11 +508,11 @@ PageStore.prototype.init = function(tabId, pageURL) {
|
|||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
|
|
||||||
PageStore.prototype.reuse = function(pageURL, context) {
|
PageStore.prototype.reuse = function(pageURL, context) {
|
||||||
// This can very well happen under normal circumstances. Leave the context
|
// We can't do this: when force refreshing a page, the page store data
|
||||||
// unchanged when this happens.
|
// needs to be reset
|
||||||
if ( pageURL === this.pageURL ) {
|
//if ( pageURL === this.pageURL ) {
|
||||||
return this;
|
// return this;
|
||||||
}
|
//}
|
||||||
|
|
||||||
// If URL changes without a page reload (more and more common), then we
|
// If URL changes without a page reload (more and more common), then we
|
||||||
// need to keep all that we collected for reuse. In particular, not
|
// need to keep all that we collected for reuse. In particular, not
|
||||||
|
Loading…
Reference in New Issue
Block a user