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.
The line:
if (navlineText !== "Hello. Sign in" || navlineText !== 'Hallo! Anmelden') {
shall be replaced by:
if (navlineText !== "Hello. Sign in" && navlineText !== 'Hallo! Anmelden') {
in order to make the script work correct as the first variant would always evaluate to be true.
ya i get this reload when im not signed into amazon.
I have updated the code with your fix. Thank you for catching that.
The redirect loop unfortunately has to do with Amazon Smile redirecting back to Amazon if the user is not logged in. I have a solution in place for my Chrome extension, but haven't had the time to figure out a solution for the userscript yet.