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

Suggestion GM_setValueGlobal Global Scope #2056

Closed
TimidScript opened this issue Nov 5, 2014 · 6 comments
Closed

Suggestion GM_setValueGlobal Global Scope #2056

TimidScript opened this issue Nov 5, 2014 · 6 comments
Milestone

Comments

@TimidScript
Copy link

The ability to store information in a central database accessible by all scripts.

@tiansh
Copy link
Contributor

tiansh commented Nov 14, 2014

Should this be global or namespace specified?

@TimidScript
Copy link
Author

The namespace idea is good 👍

Any is better than none.

@jerone
Copy link
Contributor

jerone commented Nov 15, 2014

I don't think that is really needed. Script authors could provide their own namespace by using a prefix in the key if needed. This keeps the API the same as GM_[gs]etValue.

@TimidScript
Copy link
Author

If it is only one database it can become bloated if several scripts are writing to it as the number of scripts utilising it increases.

Instead of having one global database allow the script to define a global database name(s).

Reading is not an issue but altering or amending a large database with high number of records really slows down the browser and causes irresponsiveness.

@arantius arantius added this to the Pony milestone May 29, 2015
@janekptacijarabaci
Copy link
Contributor

See also #1728

@TimidScript
Copy link
Author

Please consider allowing the new databases locations to be a setting value. I would rather have them on a different drive and directory.

@arantius arantius modified the milestones: Pony, Bankruptcy Jul 25, 2017
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

5 participants