Browse Source

started work on #105, #475, and possibly #510

pull/2/head
gorhill 10 years ago
parent
commit
529258de44
  1. 8
      platform/chromium/vapi-background.js

8
platform/chromium/vapi-background.js

@ -61,6 +61,14 @@ vAPI.tabs = {};
/******************************************************************************/
vAPI.isNoTabId = function(tabId) {
return tabId.toString() === '-1';
};
vAPI.noTabId = '-1';
/******************************************************************************/
vAPI.tabs.registerListeners = function() {
if ( typeof this.onNavigation === 'function' ) {
chrome.webNavigation.onCommitted.addListener(this.onNavigation);

Loading…
Cancel
Save