|
@ -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( |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
} |
|
|
|
|
|
); |
|
|
|
|
|
|
|
|
}); |