mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
let's see if this fixes #906
This commit is contained in:
parent
e847d7f9f4
commit
770875608d
1 changed files with 11 additions and 0 deletions
|
|
@ -1220,6 +1220,17 @@ var tabWatcher = (function() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// https://github.com/gorhill/uBlock/issues/906
|
||||||
|
// This might have been the cause. Will see.
|
||||||
|
if (
|
||||||
|
document.readyState !== 'interactive' &&
|
||||||
|
document.readyState !== 'complete'
|
||||||
|
) {
|
||||||
|
console.log('document not ready');
|
||||||
|
attachToTabBrowserLater({ window: window, tryCount: tryCount });
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// On some platforms, the tab browser isn't immediately available,
|
// On some platforms, the tab browser isn't immediately available,
|
||||||
// try waiting a bit if this happens.
|
// try waiting a bit if this happens.
|
||||||
// https://github.com/gorhill/uBlock/issues/763
|
// https://github.com/gorhill/uBlock/issues/763
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue