Skip to content

Move storing logic to background script #103

Description

@sharon-wang

Currently, all of our storing logic exists in storage.js and is executed by the content script being run on the active tab. However, this may pose some issues since all tabs write to the same browser local storage and the stores occur asynchronously. The asynchronous stores may give rise to incorrect data, as data may get overwritten.

If we move our storing logic to our background script, then we can coordinate saving to storage across all tabs and avoid the problem of multiple tabs asynchronously writing to the same storage.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    dataAkita extension data storage, retrieval, organization

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions