Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

chrome.storage.local get

chrome.storage.local.get('zadaniya', function (result) {
                            if (result.zadaniya === true) {
                                chrome.storage.local.remove(['zadaniya'], (result) => {
                                    console.log('Removed items for the key: ' + key);
                                });
                                clearInterval(refreshIntervalId);
                                chrome.storage.local.set({'zadaniya': false}, function () {
                                    console.log('zadaniya false');
                                });
                                document.getElementById("btn_send").click();
                                throw new Error("Zadaniya tugallandi");
                            }
                        });
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
5+9 =