Update background.js

This commit is contained in:
Official Noob
2019-08-08 20:32:18 +01:00
committed by GitHub
parent 1b5d5f8a3a
commit 02448307ab

View File

@@ -5,8 +5,8 @@ var userID = null;
var sponsorVideoID = null; var sponsorVideoID = null;
chrome.tabs.onUpdated.addListener(function(tabId, changeInfo, tab) { chrome.tabs.onUpdated.addListener(function(tabId, changeInfo, tab) {
chrome.runtime.sendMessage({ chrome.tabs.sendMessage(tabId, {
message: "update", message: 'update',
}); });
}); });