feedsportal link

Automatically follows the 'click here to continue to article' link on feedsportal pages.

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name          feedsportal link
// @author        kl
// @description   Automatically follows the 'click here to continue to article' link on feedsportal pages.
// @include       http://*.feedsportal.com/*.htm
// @license       GPL version 3 or any later version; http://www.gnu.org/copyleft/gpl.html
// @version       0.0.2
// @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;
		}
    }
}