您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
View last post on your posts page
// ==UserScript== // @name View last post on your posts // @namespace VLPOYP // @description View last post on your posts page // @include *hackforums.net/search.php* // @require http://code.jquery.com/jquery-2.2.2.min.js // @version 0.1.0 // @grant GM_getValue // ==/UserScript== if ($("td.tcat:nth-child(2) > span:nth-child(1) > strong:nth-child(1) > a:nth-child(1)").html() === "Author") { $(".tborder > tbody:nth-child(1) > tr:gt(1)").each(function() { var href = $(this).find("a").attr("href"); $(this).find(".smalltext:first").prepend("<a href='"+href+"&action=newpost' title='Go to first unread post' class='quick_jump'>►</a>"); }); }