您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Replaces the current Amazon product URL in the address bar with a shorter version.
当前为
// ==UserScript== // @name Amazon short url // @namespace https://puac.de/ // @version 0.1.0 // @description Replaces the current Amazon product URL in the address bar with a shorter version. // @author Hans Puac // @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/* // @run-at document-end // ==/UserScript== (function () { 'use strict'; var asin = document.getElementById('ASIN'); if (asin) { var url = document.location.protocol + '//' + document.location.host + '/dp/' + asin.value; if (url === document.location.href) { return; } window.history.replaceState(null, null, url); } })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址