diff --git a/js/options.js b/js/options.js index 78b4742..60e3561 100644 --- a/js/options.js +++ b/js/options.js @@ -87,19 +87,3 @@ const restoreCheckbox = (checkKey, checkId) => { document.addEventListener('DOMContentLoaded', restoreOptions, saveCheckbox) document.querySelector("form").addEventListener("submit", saveOptions) - -// test zone -function onGot(item) { - console.log(item); -} - -function onError(error) { - console.log(`Error: ${error}`); -} - -let allItems = browser.storage.sync.get() -allItems.then(onGot, onError) - -const itemValueOpt = chrome.storage.sync.get('pleromaCheck', item => { - console.log(item.pleromaCheck) -})