Browse Source

refactored tabs/context code

pull/2/head
gorhill 10 years ago
parent
commit
ef67930454
  1. 3
      platform/chromium/vapi-background.js

3
platform/chromium/vapi-background.js

@ -705,7 +705,8 @@ vAPI.onLoadAllCompleted = function() {
var i = tabs.length, tab; var i = tabs.length, tab;
while ( i-- ) { while ( i-- ) {
tab = tabs[i]; tab = tabs[i];
µb.bindTabToPageStats(tab.id, tab.url);
µb.tabContextManager.commit(tab.id, tab.url);
µb.bindTabToPageStats(tab.id);
// https://github.com/chrisaljoudi/uBlock/issues/129 // https://github.com/chrisaljoudi/uBlock/issues/129
scriptStart(tab.id); scriptStart(tab.id);
} }

Loading…
Cancel
Save