1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-02 00:42:45 +01:00

associate code change with issue #587

This commit is contained in:
gorhill 2015-01-23 11:47:31 -05:00
parent 673b8774be
commit eeb5e8de5b
2 changed files with 2 additions and 0 deletions

View File

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

View File

@ -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.