您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
it will remove coded links
当前为
// ==UserScript== // @name Clean URL // @author h.zhuang // @version 2015.05.28 // @description it will remove coded links // @lastchanges added decodeURIComponent // @updatetype 24 // @namespace com.schrauger.fork.slickdeals-clean-url // @homepage https://github.com/schrauger/mint.com-customize-default-categories // @include http://slickdeals.net/* // @include https://slickdeals.net/* // @include http://www.fatwallet.com/* // @include https://www.fatwallet.com/* // ==/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,'&'); } }