Raymond Hill
7 years ago
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
2 changed files with
5 additions and
6 deletions
-
platform/chromium/vapi-background.js
-
src/js/start.js
|
|
@ -170,8 +170,10 @@ vAPI.tabs.get = function(tabId, callback) { |
|
|
|
|
|
|
|
/******************************************************************************/ |
|
|
|
|
|
|
|
// https://github.com/uBlockOrigin/uMatrix-issues/issues/9
|
|
|
|
|
|
|
|
vAPI.tabs.getAll = function(callback) { |
|
|
|
chrome.tabs.query({ url: '<all_urls>' }, callback); |
|
|
|
chrome.tabs.query({}, callback); |
|
|
|
}; |
|
|
|
|
|
|
|
/******************************************************************************/ |
|
|
|
|
|
@ -61,14 +61,11 @@ var onAllDone = function() { |
|
|
|
/******************************************************************************/ |
|
|
|
|
|
|
|
var onTabsReady = function(tabs) { |
|
|
|
var tab; |
|
|
|
var i = tabs.length; |
|
|
|
// console.debug('start.js > binding %d tabs', i);
|
|
|
|
let i = tabs.length; |
|
|
|
while ( i-- ) { |
|
|
|
tab = tabs[i]; |
|
|
|
let tab = tabs[i]; |
|
|
|
µm.tabContextManager.push(tab.id, tab.url, 'newURL'); |
|
|
|
} |
|
|
|
|
|
|
|
onAllDone(); |
|
|
|
}; |
|
|
|
|
|
|
|