jesus2099 / konami-command

power‐ups for various web sites
119 stars 25 forks source link

Store user settings #146

Open jesus2099 opened 8 years ago

jesus2099 commented 8 years ago

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…

jesus2099 commented 8 years ago

As this script is called from all the internet, there is no way (localStorage nor cookie) to store its setting.

yvanzo commented 8 years ago

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.

jesus2099 commented 6 years ago

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.

jesus2099 commented 1 year ago

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.