Skip to content

Commit

Permalink
Describe undocumented event handler
Browse files Browse the repository at this point in the history
  • Loading branch information
EranSch committed Sep 10, 2014
1 parent 19c161f commit e6fc17d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib/brain.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,10 @@ chrome.windows.onFocusChanged.addListener(function(windowId){
});
});

/**
* This listener fires each time the user loads a new page. If the domain is recognized
* then the bar removal script is fired.
*/
chrome.tabs.onUpdated.addListener(function(tabId, data, tab) {
wpAdminHide.chkD(
tabId,
Expand Down

0 comments on commit e6fc17d

Please sign in to comment.