How to save search results in the plugin for chrome using JS?
Started learning JS, and decided to write a small plugin for chrome on pure JS. The essence of the plugin is not really important here what problem I encountered. I need to save the search query and search results of Google, if the search results have changed (for the plugin) to report it. How you can implement it in terms of the algorithm, whether it is possible to save queries and search results to a file, and constantly check the current query results to be saved to a file. Perhaps you need to keep not the file but the internal storage ( Chrome.storage.local).
I would be very grateful for any explanations, for a beginner and quite confused.