mirror of https://github.com/gorhill/uBlock.git
maybe this will fix #197 (timing issue?)
This commit is contained in:
parent
55254ae9f7
commit
087cd4e645
|
@ -727,12 +727,12 @@ vAPI.onLoadAllCompleted = function() {
|
||||||
vAPI.tabs.injectScript(tabId, {
|
vAPI.tabs.injectScript(tabId, {
|
||||||
file: 'js/vapi-client.js',
|
file: 'js/vapi-client.js',
|
||||||
allFrames: true,
|
allFrames: true,
|
||||||
runAt: 'document_start'
|
runAt: 'document_idle'
|
||||||
}, function(){ });
|
}, function(){ });
|
||||||
vAPI.tabs.injectScript(tabId, {
|
vAPI.tabs.injectScript(tabId, {
|
||||||
file: 'js/contentscript-start.js',
|
file: 'js/contentscript-start.js',
|
||||||
allFrames: true,
|
allFrames: true,
|
||||||
runAt: 'document_start'
|
runAt: 'document_idle'
|
||||||
}, function(){ scriptEnd(tabId); });
|
}, function(){ scriptEnd(tabId); });
|
||||||
};
|
};
|
||||||
var bindToTabs = function(tabs) {
|
var bindToTabs = function(tabs) {
|
||||||
|
|
Loading…
Reference in New Issue