Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- chrome.runtime.onInstalled.addListener(function() {
- chrome.storage.sync.set({ number: 0 }, function() {
- console.log('Wormhole Escaper installed.')
- console.log('The number is set to 0.')
- // I want to create an alarm here to run everyday at 5am?
- chrome.alarms.create('reset', { when: 5166000000 })
- })
Add Comment
Please, Sign In to add comment