mirror of
https://github.com/gorhill/uBlock.git
synced 2024-07-18 18:48:45 +02:00
let's see if this fixes #906
This commit is contained in:
parent
e847d7f9f4
commit
770875608d
@ -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 New Issue
Block a user