您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
mobileread.com forum - goes to first unread post.
// ==UserScript== // @name mobileread.com forum - goto first unread redirect // @namespace http://www.fmbv.nu/ // @version 0.4 // @description mobileread.com forum - goes to first unread post. // @match http://www.mobileread.com/forums* // @match https://www.mobileread.com/forums* // @copyright 2015, Jan Karjalainen // @grant none // ==/UserScript== (function() { try { var textLink="View First Unread"; var nPage=-1; // opens 1.st such a link in tab for( var i=0; i < document.links.length; i++ ) { if( document.links[ i ].innerHTML.match( textLink )) { window.location.href=document.links[i].href } } } catch (e) { GM_log( 'mobileread.com forum - goto first unread Redirect - script exception: ' + e ); alert ( 'mobileread.com - goto first unread Redirect - script exception: ' + e ); } } )();