mscarchilli / Amazon Smile Redirect

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.

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.