I am writing a simple Chrome extension that would notify you of new posts on the site.

I decided to store in the local storage the number of the last post, which would be updated when entering the site, but encountered a problem: localStorage is unique for each domain and the extension does not have access to the data that I put in localStorage when entering the site.

I would like to find a js-plugin that would implement the globalStorage functionality in Chrome.

    1 answer 1

    As an idea, you can try to bypass the domain restriction by creating an extension that will include a background page that will always run, regardless of what is open in the browser: a blank page or a page of a site. This background page will access localStorage, and other extension pages can access it.

    • Great, I'll try to implement. - jov