Skip to content

Instantly share code, notes, and snippets.

@AnthonyVadala
Created October 14, 2019 18:56
Show Gist options
  • Save AnthonyVadala/8b97d75eea3d9831ca82ed6de02a47e8 to your computer and use it in GitHub Desktop.
Save AnthonyVadala/8b97d75eea3d9831ca82ed6de02a47e8 to your computer and use it in GitHub Desktop.
Always use smile.amazon.com instead of www.amazon.com
// ==UserScript==
// @name Amazon Smile
// @namespace tt
// @include https://*.amazon.com*
// @version 1.0
// @grant none
// ==/UserScript==
if (location.hostname !== 'smile.amazon.com') {
location.hostname = 'smile.amazon.com';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment