Giter Club home page Giter Club logo

webdevnerdstuff / amazon-smile-redirect Goto Github PK

View Code? Open in Web Editor NEW
72.0 6.0 4.0 4.94 MB

This Extension will automatically redirect you to the corresponding AmazonSmile page, so you will never need to remember to go to AmazonSmile first. In order for your non-profit to benefit from your purchase, you must complete your purchase through AmazonSmile.

License: GNU General Public License v3.0

JavaScript 91.05% SCSS 3.11% HTML 5.83%
amazon non-profit

amazon-smile-redirect's Introduction

Amazon Smile Redirect

Chrome Chrome Extension
Firefox Firefox Add-On
Opera Opera Extension
Edge Microsoft Edge Add-On

Description

Help your favorite non-profit by purchasing your Amazon items through AmazonSmile. smile.amazon.com.

Overview

This Extension will automatically redirect you to the corresponding AmazonSmile page, so you will never need to remember to go to AmazonSmile first. In order for your non-profit to benefit from your purchase, you must complete your purchase through smile.amazon.com.

Supported Sites

amazon.com
amazon.co.uk
amazon.de

Supported Languages

Full list of supported languages

Do you track my data?

No. This extension does not collect any user data.

I believe in full transparency so the source code for the extension is Open Source and open to the public to view.

Legal Information

AmazonSmile and the AmazonSmile logo are trademarks of Amazon.com, Inc. or its affiliates.
The extension was not created or endorsed by Amazon.

ยฉ 2022 Amazon Smile Redirect. All Rights Reserved.

amazon-smile-redirect's People

Contributors

cvzi avatar dependabot[bot] avatar galgenjunge avatar mscarchilli avatar webdevnerdstuff avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

amazon-smile-redirect's Issues

Adding a privacy policy for the extension

(Skipping the template since it doesn't apply to my issue)

Would it be possible to add a brief Privacy Policy in the README? I read through the code to confirm the extension just redirects to Amazon Smile and nothing more. I didn't see any data collection/usage/nefarious activities occurring, but it would be nice to have official confirmation to reassure myself and other users.

In the meantime, could you confirm my findings (that there is no data being collected and nothing occurring beyond just redirecting to Amazon.com to Amazon Smile)?

Thanks for creating this extension!

breaks Amazon shopping profile PIN entry

Describe the bug
breaks Amazon shopping profile access with profile PIN configured. the PIN entry screen might not work with the smile subdomain

To Reproduce
steps to reproduce the behavior:

  1. set PIN for Amazon shopping profile
  2. enable Amazon Smile add-on
  3. go to Amazon, Account, Your Profile, then select the primary profile
  4. prompts for password, prompts for PIN, then returns to Your Profile selection page without ever displaying the primary profile as selected. this repeats as many times as the primary profile is selected

Expected behavior
the Amazon Smile redirect might need to be disabled for login or shopping profile pages

Desktop (please complete the following information):

  • OS: Windows 11 Pro 21H2
  • Firefox Version: 101.0.1
  • Extension Version 2.2.1

Redirect - no login possible with 2fa

Describe the bug
The redirect prevents you from logging in when you receive a link via email for login confirmation.

To Reproduce
Steps to reproduce the behavior:

  1. Log in from a new device / cleared cache
  2. receive confirmation mail and click on link
  3. redirection -> no login possible

Expected behavior
Should not redirect when clicking on links in (confirmation-)mails

Redirect loops on non-US amazon sites

Describe the bug
When using non-US amazon links, the browser will become stuck in a redirect loop. Using the US page (.com) with the same URL resolves this.

Sample url: https://smile.amazon.co.uk/Cable-Matters-48Gbps-Adapter-Supporting/dp/B08MSWMXT4?pldnSite=1

To Reproduce
Steps to reproduce the behavior:
Follow link. Reproduces with Ublock disabled or enabled.

Expected behavior
This could be resolved either by filtering the redirect to only happen on .com URLs or by using smile.amazon.tld

Desktop (please complete the following information):

  • OS: OSX 10.6 (21G115)
  • Firefox Version 106.0.1
  • Extension Version 2.2.2

Redirect issue when resetting password

Describe the bug
When following the email link for a password reset, you are immediately redirected and can't click the "Allow Access" button

To Reproduce
Steps to reproduce the behavior:

  1. reset amazon password
  2. follow the link
  3. see unexpected redirect

Expected behavior
Don't redirect on password reset links

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • most recent everything

Additional context

Safari 14 support?

With the new WebExtensions support on Safari 14, I was wondering if this extension will support Safari 14?

Audible Redirect

Describe the bug
If you login to audible you will be redirected to smile.amazon everytime so you can not login.

To Reproduce
Steps to reproduce the behavior:

  1. Go to audible.com
  2. Click on login

Expected behavior
Maybe you could add a whitelist or something like that to prevent the plugin redirecting.

Thanks for your great plugin!

stopped redirecting on firefox dev

this stopped redirecting on firefox developer edition: 74.0b2 (64-bit) at https://www.amazon.com/ using the userscript version.

not sure if this is a firefox dev, amazon-smile-redirect, or violentmonkey issue as they were all updated very recently.

Smile redirect messes up amazon pay

Describe the bug
The login popup never goes away when using amazon pay on external shops. Works with plugin disabled.

To Reproduce
Steps to reproduce the behavior:

Expected behavior
The login process actually complete

Desktop (please complete the following information):

  • OS: Windows
  • Firefox Version 108.0.1
  • Extension Version 3.0.4

Co Op?

I'm looking to re-create the experience around the Amazon Smile browser app and was wondering if you would be open to exploring this concept.

chavenor at gmail.com

Extension redirecting when setting set to "Off"

Describe the bug
Extension redirecting when setting set to "Off". Currently a problem for all browsers.

Redirect only when logged in and only on checkout seem to be working. I will double check these as well when fixing the bug.

From a Firefox User

Does its simple task well, but does not always deactivate when use the "Off" option. I turn it off when visiting eg www.amazon.co.uk, where redirecting to smile.amazon.co.uk will not work (I have no account there).

Selecting the add-on's icon, then "Off" changes the reported option to show "Off", but subsequent page loads are still redirecting (and failing).

Not redirecting

I added the Amazon smile redirect to my chrome browser. When I click on it, I see a drop down list. First thing is it's enabled. The second item is the actual words Amazon Smile. Then followed by About, Developer, Support

My issue is that I have to click this icon twice for it to actually take me to amazon. If it's supposed to be a redirect, why do I have to click once, then choose the drop down and click it again?

I should just be able to click on the icon and immediately go to my amazon smile. And yes, I'm signed into amazon smile.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. Mac, Windows]
  • Chrome Version [e.g. 22]

Additional context
Add any other context about the problem here.

Option: Display warning when trying to order through non-smile website

Describe the bug
Sometimes the plugin redirects me, when it shouldn't, which creates an infinite loop or a not-breakable loop (prime video or drive).
Therefor i would like the idea more, where the plugin just warns me that im about to order through the non-smile portal. (Detectable through /gp/cart/view.html and /gp/buy/itemselect/handlers/display.html)

[Feature-Request] - choose sites manually

Hello,
I really like this addon!
But it would be great to enable/disable it for some amazon urls. For instance only on amazon.de because it redirects me even if i open a link to just browse some warehousedeals on .co.uk.
Thanks a lot!

Extension breaks Amazon Business invite acceptance

Describe the bug
Redirection on login pages causes the Amazon Business registration process to break.

To Reproduce
Steps to reproduce the behavior:

  1. User starts signed out of Amazon
  2. User receives an Amazon Business invitation and clicks
  3. User is taken to the registration page, but is then redirected away to an AmazonSmile login page which does not support this functionality.

OR

  1. User starts signed in to Amazon.
  2. User receives an Amazon Business invitation and clicks
  3. User is taken to the accept invite page, but is then redirected away to AmazonSmile, which does not support this functionality.

Expected behavior
The extension should not attempt to redirect on login or registration pages.

Desktop (please complete the following information):

  • OS: Windows

Forced Sign-In

Describe the bug
Whenever it triggers, it forces me to sign in (to smile.amazon.*) before proceeding.

To Reproduce
This may have something to with interference from other extensions that are designed to interact with Amazon.

Expected behavior
What should happen instead is that the site will be reloaded but with 'smile' in place of 'www', right?

Desktop (please complete the following information):

  • OS: Mac
  • Opera GX (Chromium-based browser, capable of running any and all Chrome Extensions)

Additional context
If I click on a link from an email and it takes me to [www.amazon.com/*], Amazon Smile Redirect forces it before the page can fully load so that I cannot return to the page except by logging in.

Only redirect when logged in not working

Describe the bug
If I open amazon.de when not logged in I nonetheless get redirected to smile.amazon.de

To Reproduce
Steps to reproduce the behavior:

  1. Open browser with cleared cookies
  2. Go to 'amazon.de'
  3. Get redirect to smile.amazon.de

Expected behavior
I want to look product pages on amazon.de when logged out and only if I want to order something and must login, then to be redirected to smile.amazon

Desktop

  • OS: Windows 11
  • Browser Version: Brave 1.44 (Chromium 106)
  • Extension Version: 2.2.2

Smile Redirect Should Ignore Watch Party Links

Describe the bug
There's a relatively new feature on Amazon's site called watch party that allows users to invite others to watch an Amazon Prime Video together. Users receive a link that they can give to others and when clicked it will take you to a watch party. Clicking on a watch party link doesn't work while Smile Redirect is enabled, it will instead take you to the watch party faq. https://smile.amazon.com/adlp/watchparty

To Reproduce
Steps to reproduce the behavior:

  1. Have a friend create a watch party link
  2. Click on that watch party link
  3. You will see that you get redirected to the watch party faq instead of joining the watch party.

Expected behavior
What should happen is that you will be asked to enter your name after joining the watch party. Then you and the host should both be able to watch a prime video together.

Desktop (please complete the following information):

  • OS: Windows 10
  • Firefox Version 82.0.3

Redirect issues when using Firefox extension on Android

Describe the bug
It is possible to use any Firefox extension on Android by using collections in the nightly version. Currently though, when I enable this extension on my phone, it constantly redirects to log in when already logged in. When I set the option to redirect only when logged in, it won't redirect to smile.amazon.com when logged in.

To Reproduce
Steps to reproduce the behavior:

  1. Install Firefox extension on Android via collections in the nightly version
  2. Go to Amazon.com
  3. See error

Expected behavior
Should not redirect to login when already logged in and should redirect to smile.amazon.com

Add ability to configure which sites to redirect on

I mainly use amazon.de and that is where I want to use Amazon Smile. However, I occasionally also use other countries' Amazon sites like .com or .co.uk. There, I actually don't want to use Smile.

Would be great if the extension allowed me to configure which pages I actually want to be redirected on.

Add build documentation

I'll love to contribute with this project but I'm a little lost with how to build locally for Firefox and Chrome, is this the right channel for asking for this?
Thanks

No forwarding to Smile site from Amazon UK

No longer forwarding when using Amazon UK
If I visit a page on Amazon UK, including the homepage, the extension does not intervene, and I remain on the main site.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'https://www.amazon.co.uk/'
  2. No forwarding occurs

Desktop (please complete the following information):*

  • OS: Windows
  • Chrome Version: Version 83.0.4103.97

Additional context
If you need more, drop me a line.

Great Job

You can close this issue as soon as you read it. I just wanted to say this is probably the first time I read through the code so nice, tidy, well organized, minimal, and kept left, that I was grinning all the time reading through it ๐Ÿ˜ .

So one could sayโ€ฆ it redirected my mood to aโ€ฆ smile ๐Ÿ˜ .

funfact: I thought I had a single suggestion, but then I realized it's a toggle, not a backfill as I initially misunderstood it ๐Ÿ˜… .

The only thing I could even suggest improving is changing these background.js#L78 & background.js#L89 to sth like:

// ignore
if (extensionStatus !== 'enabled') {
	extensionStatus = 'disabled'
}

as I feel it would express the intention slightly better.

Redirects to Smile for amazon.de even when not logged in

With this plugin I get redirected to Amazon Smile for .de even if I am not logged in.

Screenshots
https://youtu.be/yehLPsq5ZlQ

Additional context
Thank you for inviting me to report this bug over in the Firefox addons comment section.

I found no reason for this issue in your code.
Here are the first three nav-line-1 classes in order:

                <span class="nav-line-1 nav-progressive-content" id="glow-ingress-line1">
                   Hallo
                </span>

      <span class="nav-line-1">
      </span>

<span id="nav-link-accountList-nav-line-1" class="nav-line-1 nav-progressive-content">Hallo, Anmelden</span>

I do not understand why you do not use span id="nav-link-accountList-nav-line-1"

Consider https://github.com/Aaron-P/SmartAmazonSmile, it uses Cookies to determine a session and it therefore reacts instantly before site content is even loaded.

And thanks for your work.

Desktop (please complete the following information):
Firefox 94.0.2 (64-Bit)
Extension Version 2.1.2

Always redirects to Login-Page

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'amazon.de'
  2. Click on 'nothing'
  3. Scroll down to 'nothing'
  4. See error

Expected behavior
Replace the host part of the url to smile.amazon.de and keep the rest of the url as it was. Don't redirect to login page.

Screenshots

Desktop (please complete the following information):

  • OS: Windows 10 Pro
  • Chrome Version 80

Additional context
Even though I'm already loged in to amazon.de and smile.amazon.de this plugin always redirects me to the login page of smile.amazon.de.

Extension Options showing selected after opening browser when not selected

Describe the bug
When you first open the browser, and click on the extension icon, it shows that all options are selected. If you close it and open it again, it shows the correct option settings. The extension still works as it should, so it's more of a visual bug than it is functionality.

I'm opening this issue for myself to fix.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.