chrome storage local example
chrome.storage.local.set({key: value}, function() { console.log('Value is set to ' + value);});chrome.storage.local.get(['key'], function(result) { console.log('Value currently is ' + result.key);});
chrome storage local example
chrome.storage.local.set({key: value}, function() { console.log('Value is set to ' + value);});chrome.storage.local.get(['key'], function(result) { console.log('Value currently is ' + result.key);});
local storage for chrome extension
var valeur=localStorage.getItem(clef); //récupérer la valeur
localStorage.setItem(clef,valeur); //donner une nouvelle valeur
localStorage.removeItem(clef); //supprimer l'item
var clef=localStorage.key(n); //récupérer la clef du n item.
localStorage.clear(); //vider localStorage
localStorage.length(); //le nombre de clef de localStorage
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us