From eeb5e8de5bbef67369be042fbb444aca64d034f9 Mon Sep 17 00:00:00 2001 From: gorhill Date: Fri, 23 Jan 2015 11:47:31 -0500 Subject: [PATCH] associate code change with issue #587 --- src/js/contentscript-end.js | 1 + src/js/contentscript-start.js | 1 + 2 files changed, 2 insertions(+) diff --git a/src/js/contentscript-end.js b/src/js/contentscript-end.js index 6b936018d..82ce59fc7 100644 --- a/src/js/contentscript-end.js +++ b/src/js/contentscript-end.js @@ -47,6 +47,7 @@ if ( vAPI.canExecuteContentScript() !== true ) { return; } +// https://github.com/gorhill/uBlock/issues/587 // Pointless to execute without the start script having done its job. if ( !vAPI.contentscriptStartInjected ) { return; diff --git a/src/js/contentscript-start.js b/src/js/contentscript-start.js index 83166b21e..a190ef25e 100644 --- a/src/js/contentscript-start.js +++ b/src/js/contentscript-start.js @@ -144,6 +144,7 @@ var filteringHandler = function(details) { // the browser to flush this script from memory. } + // https://github.com/gorhill/uBlock/issues/587 // If no filters were found, maybe the script was injected before uBlock's // process was fully initialized. When this happens, pages won't be // cleaned right after browser launch.