您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Replaces the current Amazon URL with a shorter version.
// ==UserScript== // @name Amazon URL Shortener // @namespace https://ohlinis.me/ // @version 0.0.2 // @description Replaces the current Amazon URL with a shorter version. // @author Murphy // @match https://www.amazon.com/* // @match https://www.amazon.de/* // @match https://www.amazon.es/* // @match https://www.amazon.fr/* // @match https://www.amazon.it/* // @match https://www.amazon.nl/* // @match https://www.amazon.com.be/* // @run-at document-start // ==/UserScript== (function () { 'use strict'; if(document.location.href.split("/dp/").length !== 1&&document.location.href.split("/dp/")[1].split("/")[1] !== ""){ var url = "https://"+document.domain+"/dp/"+document.location.href.split("/dp/")[1].split("/")[0].split("?")[0] if (url === document.location.href) {return} else {document.location.replace(url)} } else {return} })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址