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.
Aldo I prefer to see this build-in to the site, this script looks promising.
Before I could fully testing it, I got two error's that requires fixing:
for
loop into a revering one and change to a more targeted selector:$("nav.navbar .navbar-collapse-top a")
. The ends of the bar looks the same for users and admins.GM_getValue
default value. Aldo the documentation says it supportsdefaultValue
it errored withTypeError: arrStored is undefined
. I fixed it by using the following codereturn eval(GM_getValue(name) || (def || '({})'));
.Hope you'll fix above two issues so I can test it further.
Keep up the great work.
Hi,
thanks for your feedback, I've just published a new version which fixes both the issues you prompted me.
Regarding catching username, I do know mine was a weak routine so thanks again.
Let me know if you ever decide to build my code into oujs.org, I'm glad to contribute.
Re: @jerone:
We could use client side local storage but will run into a security risk. I've thought many a time about doing something similar to US.o script author helper but usually it ends up needing the data stored client side... which runs into collisions with automatic cleanup routines on the client computer.
Re: @burn:
It would be nice to have a screenshot on your script homepage too. I've installed this a few times and didn't observe much happening... so it would be nice to know exactly where to look.
Imho that ain't a problem: if an user cleans cookies / localStorage, my userscript will show no statistics at all, as if it were just installed. Does this Make sense?
Re: @burn:
Re: @burn:
The likelihood of using local storage is minimal from the OUJS perspective due to this. It would be very frustrating for those users that did clear it and reports would come in. Also some extensions/add-ons block local storage usage completely. I think it's best to keep this user.js side.