Greasy Fork is available in English.

Amazon Smile Weiterleitung

Ändert die URL und leitet zu Amazon Smile weiter. Einkaufen & gutes tun! (AmazonSmile wird zum 20. Februar 2023 eingestellt.)

Skript installieren?
Vom Ersteller vorgeschlagenes Skript

Ihnen könnte auch Übersetzer gefallen.

Skript installieren
// ==UserScript==
// @version 1.0.5.0 final
// @name Amazon Smile redirect
// @name:de Amazon Smile Weiterleitung
// @description Change URL and redirect to Amazon Smile. You shop. Amazon gives. (The Smile initiative will shut down by February 20, 2023)
// @description:de Ändert die URL und leitet zu Amazon Smile weiter. Einkaufen & gutes tun! (AmazonSmile wird zum 20. Februar 2023 eingestellt.)
// @author JAS1998
// @copyright 2020+ , JAS1998 (https://greasyfork.org/users/4792)
// @namespace https://greasyfork.org/users/4792
// @icon https://smile.amazon.com/favicon.ico
// @supportURL https://greasyfork.org/scripts/410767/feedback
// @license CC BY-NC-ND 4.0; http://creativecommons.org/licenses/by-nc-nd/4.0/
// @noframes
// @priority 9999
// @run-at document-start
// @compatible Chrome tested with Tampermonkey
// @contributionURL https://www.paypal.com/donate?hosted_button_id=9JEGCDFJJHWU8
// @contributionAmount €1.00
// @grant GM_notification
// @grant GM_registerMenuCommand
// @include /.*(www.|http.?:\/\/|smile.)amazon\.(de|com|co.uk).*$
// @exclude /(.*=.*amazon|.*amazon.*\/signin.*).*$
// ==/UserScript==

/* The Smile initiative will shut down by February 20, 2023 /*

/* GM_registerMenuCommand("Donate now 🎁", function () { 
alert("Hello, I'm JAS1998\nand i wrote this script as a hobby\nYou have been using this script for some time, if you find it useful, i would appreciate a small donation! =)");
    window.location="https://www.paypal.com/donate?hosted_button_id=9JEGCDFJJHWU8";
    });

if (GM_info.script.copyright.includes(GM_info.script.namespace)) {
  // nothing
}
else {
  location.href = GM_info.script.supportURL.replace("feedback", "");
  alert("Please install the Orginal Version");
}
// ===============

var referrer = document.referrer;
var protocol = window.location.protocol;
var host = window.location.host.replace('www.', '');
var path = window.location.pathname;
var search = window.location.search;
// ===============

if (window.location.host.includes('smile.')) {
  // nothing
}
else {
  window.location.replace(protocol + "//smile." + host + path + search);
}
// ===============

if (referrer.includes('www.amazon.') || referrer.includes('://amazon.')) {
  if (document.cookie.indexOf(GM_info.script.name + '=hide') >= 0) {
    console.info('Cookie is set for ' + GM_info.script.name);
    GM_registerMenuCommand("Delete " + GM_info.script.name + " Cookie", function () {
      document.cookie = GM_info.script.name + '=hide; path=/; expires=Thu, 01-Jan-70 00:00:01 GMT;';
      console.info('Cookie for ' + GM_info.script.name + ' deleted!');
      location.reload();
    });
  }
  else {
    GM_notification({
      title: GM_info.script.name,
      text: "Redirected to Amazon Smile\n\nPost a review, comment, or question",
      onclick: function () {
        var cookie = new Date();
        cookie = new Date(cookie.getTime() + 1000 * 60 * 60 * 24 * 365);
        document.cookie = GM_info.script.name + '=hide; path=/; expires=' + cookie.toGMTString() + ';';
        console.info('Set cookie for ' + GM_info.script.name);
        window.location.href = GM_info.script.supportURL;
      },
    });
    console.log("Redirected to Amazon Smile\n\nPost a review, comment, or question\n" + GM_info.script.supportURL + "\n\nCopyright " + GM_info.script.copyright);
  }
}
// =============== */