diff --git a/chill-out/background.js b/chill-out/background.js index 1cc8614..76278f6 100644 --- a/chill-out/background.js +++ b/chill-out/background.js @@ -2,7 +2,7 @@ var DELAY = 0.1; var CATGIFS = "http://chilloutandwatchsomecatgifs.com/"; /* -Restart alarm for the currently active tab, whenever this script is run. +Restart alarm for the currently active tab, whenever background.js is run. */ chrome.tabs.query({active: true, currentWindow: true}, function(tabs) { restartAlarm(tabs[0].id); diff --git a/chill-out/manifest.json b/chill-out/manifest.json index edc4c28..5acdae1 100644 --- a/chill-out/manifest.json +++ b/chill-out/manifest.json @@ -11,6 +11,7 @@ }, "permissions": [ + "alarms", "tabs" ],