Browse Source

Coding stylization

master
Fazil Altinel 5 years ago
parent
commit
b47e408bdd
  1. 6
      background.js

6
background.js

@ -13,8 +13,7 @@ chrome.runtime.onInstalled.addListener(function() {
}); });
}); });
chrome.tabs.onUpdated.addListener(
function(tabId, changeInfo, tab) {
chrome.tabs.onUpdated.addListener(function(tabId, changeInfo, tab) {
chrome.storage.sync.get('switchValue', function(data) { chrome.storage.sync.get('switchValue', function(data) {
value = data.switchValue; value = data.switchValue;
if(value){ if(value){
@ -60,5 +59,4 @@ chrome.tabs.onUpdated.addListener(
} }
} }
}); });
}
);
});
Loading…
Cancel
Save