Answer the question
In order to leave comments, you need to log in
How to save the data that was entered in the extension for Chrome?
We need material where you can learn how to save the data that the user can enter in the extension, namely on the options.html extension page.
Answer the question
In order to leave comments, you need to log in
var test = document.getElementById("test").value;
// сохраняем введенное значение
localStorage["test"] = test;
chrome.storage.local - locally.
chrome.storage.sync - with synchronization via Google account.
https://developer.chrome.com/extensions/storage
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question