Answer the question
In order to leave comments, you need to log in
How to save search results in chrome plugin using JS?
Started learning JS, decided to write a small plugin for chrome using pure JS. The essence of the plugin is not entirely important, that's the problem I encountered. I need to save the search query and Google search results, and if the search results have changed (due to the plugin), then report it. How can this be implemented in terms of the algorithm, is it possible to somehow save requests and search results to a file and constantly check the current request with the results that will be saved to a file. Perhaps you need to save not to a file, but to the internal storage (Chrome.storage.local).
I would be very grateful for any explanations, because a beginner and completely in a stupor.
Answer the question
In order to leave comments, you need to log in
Storage.getItem()
Storage.setItem()
Perhaps you need to learn a little chrome API besides JS itself, the life cycle of addons?
https://developer.chrome.com/extensions/getstarted
Well, or start not with an addon.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question