您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
feedsportal链接自动跳转
当前为
// ==UserScript== // @name feedsportal link // @author kl // @description feedsportal链接自动跳转 // @include http://*.feedsportal.com/*.htm // @license GPL version 3 or any later version; http://www.gnu.org/copyleft/gpl.html // @version 0.0.1 // @history 0.0.1 2012-01-31 // @namespace https://greasyfork.org/users/5206 // ==/UserScript== var blhost=location.host.toLowerCase(); var bllink=location.href.toLowerCase(); var blhref; if (blhost.indexOf(".feedsportal.com")>=0 && bllink.indexOf(".htm")>=0){ var blelement=document.querySelectorAll("a"); for (var i=0;i<blelement.length;i++){ if (blelement[i].innerText==undefined){blhref=blelement[i].textContent;} else {blhref=blelement[i].innerText;} if (blhref=="click here to continue to article" || blhref=="继续阅读文章,请点击这里"){ location.href=blelement[i].getAttribute("href"); break; } } }