This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
async function mainFuction() { | |
var p = new Promise(function(resolve, reject){ | |
chrome.storage.sync.get({"disableautoplay": true}, function(options){ | |
resolve(options.disableautoplay); | |
}) | |
}); | |
const configOut = await p; | |
console.log(configOut); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
new Date(Date.now()).toLocaleString(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
type: 'LISTS_REFRESH_FULFILLED', | |
payload: { | |
data: [ | |
{icon: 'rss', name: 'RSS', id: 1}, | |
] | |
} | |
} |
NewerOlder