Are you sure you want to go to an external site to donate a monetary value?
WARNING: Some countries laws may supersede the payment processors policy such as the GDPR and PayPal. While it is highly appreciated to donate, please check with your countries privacy and identity laws regarding privacy of information first. Use at your utmost discretion.
Because GM.getValue/GM.setValue don't seem to work uniformly with all userscript mangaers, I'm attempting to utilize "web-messaging", for storing values, as a general replacement to GM.getValue/GM.setValue.
This is my most recent attempt: https://openuserjs.org/scripts/sjehuda/Dimmer_(web-messaging)
The problem is that upon reload, the value is erased, thus
window.addEventListener('message', receiver);
returnsundefined
.This script works and uses
localStorage
.Is it wise to use
localStorage
overGM.getValue
/GM.setValue
?I guess a given website can read the
localStorage
value set by a userscript.Can websites read values of
GM.getValue
?@admins Please change title to "Standard alternatives to GM.getValue/GM.setValue".
Thank you