Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shortkeys does not persist settings #610

Open
karlw99 opened this issue Mar 17, 2024 · 1 comment
Open

Shortkeys does not persist settings #610

karlw99 opened this issue Mar 17, 2024 · 1 comment

Comments

@karlw99
Copy link

karlw99 commented Mar 17, 2024

Hi!

This tool is really great and I would like to use it, however, it does not persist its settings, i.e. the shortcuts I defined. Whenever I restart firefox, I have to enter the shortcuts again. This sucks.

What is wrong? I am using firefox 115.8.0esr (64-bit), firefox for openSUSE Leap 15.5.

For all I understand about web extensions, local storage should not be deleted, and Shortkeys seems to use it. I conclude this from the following line of code:

const keysFromStorage = await chrome.storage.local.get("keys")

@karlw99
Copy link
Author

karlw99 commented Mar 18, 2024

Ok, when I set "Always use private browsing mode" then firefox deletes the storage 'Shortkeys' uses whenever it is shut down. When I relax this, the stored data are kept. This must be a problem of 'Shortkeys', because I am also using the 'Darkreader' plugin. This plugin also stores data that are not deleted by firefox when I always use private browsing mode. Perhaps you can use the same storage as 'Darkreader'?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant