Store user settings
Impossible with localStorage which is distinct for HTTP/HTTPS and for main/beta as well.
Now let’s find out if domain cookies are not only shared between main and beta but also between HTTP and HTTPS…
As this script is called from all the internet, there is no way (localStorage nor cookie) to store its setting.
This is the exact purpose of Greasemonkey Values API (GM_getValue, GM_setValue, ...). :sparkles:
For example, GM_config uses it as default storage and fallbacks to localStorage if it is not available.
GM_setValue is indeed a solution for storing cross domain script settings (#333, #354)!
Now how would I make the GUI, this is another problem…
Putting a button on every sites would be terrible.
I experimented the userscript engine (Violentmonley) contextual / right-click menu and it was not bad. But a little bit hidden away from the average user.