mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-07 03:12:33 +01:00
code review
This commit is contained in:
parent
5cd14ce240
commit
95eb02f3c9
@ -70,13 +70,13 @@
|
|||||||
var bindToTabs = function(tabs) {
|
var bindToTabs = function(tabs) {
|
||||||
var scriptStart = function(tabId) {
|
var scriptStart = function(tabId) {
|
||||||
var scriptEnd = function() {
|
var scriptEnd = function() {
|
||||||
chrome.tabs.executeScript(tab.id, {
|
chrome.tabs.executeScript(tabId, {
|
||||||
file: 'js/contentscript-end.js',
|
file: 'js/contentscript-end.js',
|
||||||
allFrames: true,
|
allFrames: true,
|
||||||
runAt: 'document_idle'
|
runAt: 'document_idle'
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
chrome.tabs.executeScript(tab.id, {
|
chrome.tabs.executeScript(tabId, {
|
||||||
file: 'js/contentscript-start.js',
|
file: 'js/contentscript-start.js',
|
||||||
allFrames: true,
|
allFrames: true,
|
||||||
runAt: 'document_idle'
|
runAt: 'document_idle'
|
||||||
|
Loading…
Reference in New Issue
Block a user