Amazon Smile Redirect

OBSOLETE!! Redirect automatically from normal Amazon to Amazon Smile to support charities! (change the TLD in the @match line for your preferred Amazon site)

  1. // ==UserScript==
  2. // @name Amazon Smile Redirect
  3. // @namespace ultrabenosaurus.Amazon
  4. // @version 0.3
  5. // @description OBSOLETE!! Redirect automatically from normal Amazon to Amazon Smile to support charities! (change the TLD in the @match line for your preferred Amazon site)
  6. // @author Ultrabenosaurus
  7. // @license GNU AGPLv3
  8. // @source https://greasyfork.org/en/users/437117-ultrabenosaurus?sort=name
  9. // @match www.amazon.co.uk/*
  10. // @icon https://www.google.com/s2/favicons?domain=amazon.co.uk
  11. // @grant none
  12. // ==/UserScript==
  13.  
  14. (function() {
  15. 'use strict';
  16.  
  17. //console.log("match");
  18.  
  19. //location.href=location.href.replace("://www.amazon.", "://smile.amazon.");
  20. })();