您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
it will remove coded links
当前为
// ==UserScript== // @name Slickdeals Click Track Removal // @author h.zhuang // @version 2019.12.16 // @description it will remove coded links // @lastchanges added decodeURIComponent // @updatetype 24 // @namespace slickdeals.net // @include http://slickdeals.net/* // @include https://slickdeals.net/* // ==/UserScript== var thisLink, allLinks,linkArray; allLinks = document.getElementsByTagName('a'); for (var j = 0; j < allLinks.length; j++) { thisLink = allLinks[j]; if(thisLink.href.indexOf('http') !=-1) { linkArray=thisLink.href.split('http'); thisLink.href=decodeURIComponent('http'+linkArray[linkArray.length-1]); thisLink.href=thisLink.href.replace(/&/g,'&'); } }