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.
my suggestions lays here
Wouldn't you have to reset the username in sessionStorage? The way I see it once it says that you have to log in manually, it will never try to log in again.
Re: @Farow: Wouldn't you have to reset the username in sessionStorage?
Browser automatically clears sessionStorage after tab closing.
And, if an user isn't logged in Google (or something like that), your script falls into an infinite loop.
Forgot to mention that my version only works with Google accounts.
In fact, I would suggest Sizzle store user data in persistent memory, as it'is done by Google (and Greasemonkey;)
Re: @trespassersW:
Right, got it confused with localStorage.
New version shouldn't have any infinite redirect loops.
Re: @Farow:
I found out that new version of your script doesn't work in my chrome+tampermonkey --
it crashes saying
SyntaxError: Unexpected identifier
(somewhere inside Tm/Chrome code).And i hope that Sizzle will finally add
Remember me
checkbox onto OUJS login page.Seems like Chrome doesn't quite support the
let
keyword yet. Enabling the experimental javascript features in chrome://flags seems to be creating some other issue.Re: @Farow: the
let
it is from the evil one, never use it again.Re: @Farow:
let
statement was introduced in javascript 1.7.Chrome itself supports JS 1.7 (http://stackoverflow.com/questions/4271566#answer-4271622);
it seems that Tampermonkey doesn't support modern JS features; if you are interested, you can ask them at http://forum.tampermonkey.net.