mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
associate code change with issue #587
This commit is contained in:
parent
673b8774be
commit
eeb5e8de5b
2 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue