mirror of
https://github.com/wassname/Mostly-Harmless.git
synced 2026-08-03 12:20:29 +08:00
on startup do a hard reset, not a safe Background.clearCache()
This commit is contained in:
@@ -12,7 +12,8 @@
|
||||
background = new Background();
|
||||
|
||||
function initBackground() {
|
||||
background.clearCache();
|
||||
cache.removeAll();
|
||||
button.setBadgeDefaults();
|
||||
chrome.tabs.onUpdated.addListener(background.prepareBrowserAction);
|
||||
background.watchMail();
|
||||
window.setInterval(background.clearCache, (settings.get('cacheTime') * 60 * 1000));
|
||||
|
||||
Reference in New Issue
Block a user