您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
update of Xant1k@bt's script to include https
// ==UserScript== // @id Amazon URL Cleaner (https) // @name Amazon URL Cleaner (https) // @author Michael // @description update of Xant1k@bt's script to include https // @namespace http://efcl.info/ // @description replaceState for Amazon // @include https://*amazon.*/dp/* // @include https://*amazon.*/*/dp/* // @include https://*amazon.*/*gp/product/* // @include https://*amazon.*/exec/obidos/ASIN/* // @include https://*amazon.*/o/ASIN/* // @version 0.0.1.20140518104255 // ==/UserScript== (function(doc) { // ASIN.0 in kindle store var asin = doc.getElementById("ASIN") || doc.getElementsByName("ASIN.0")[0]; if (asin) { asin = asin.value; history.replaceState(null, "Amazon URL Cleaner", "/dp/" + asin + "/"); } })(document);