Skip to content

Commit

Permalink
exec gen_token.js when at token gen. page
Browse files Browse the repository at this point in the history
  • Loading branch information
cdrainxv committed Dec 7, 2017
1 parent 9a005c1 commit 4edf01e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions js/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,9 @@ function onTabUpdated(tabId, changeInfo, tab) {
if (changeInfo.status === 'complete') {
chrome.tabs.executeScript(null, { file: 'link.js' })
}

if (tab.title === 'Token Generation - Korean Shows HD Streaming') {
chrome.tabs.executeScript(null, { file: 'gen_token.js' })
}
})
}

0 comments on commit 4edf01e

Please sign in to comment.