您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
adds a filter me button to the infobar
// ==UserScript== // @name Filter Me // @namespace pendevin // @description adds a filter me button to the infobar // @include http://boards.endoftheinter.net/showmessages.php* // @include http://archives.endoftheinter.net/showmessages.php* // @include https://boards.endoftheinter.net/showmessages.php* // @include https://archives.endoftheinter.net/showmessages.php* // @version 1.1 // @grant none // @require http://code.jquery.com/jquery-2.1.3.min.js // ==/UserScript== //ll breaks without noconflict jquery this.$ = this.jQuery = jQuery.noConflict(true); //get our userid from the profile link var userid = $('.userbar > a').first().attr('href'); userid = userid.substring(userid.indexOf('user=') + 5); //we'll stick this on the infobar because that's traditional i guess var infobar = $('#u0_2'); //add the filter to the url var place = location.href.replace(/(topic=\d+)/, '$1&u=' + userid); //add the thing eh infobar.append('<span class="filter_me"> | <a href="' + place + '">Filter Me</a></span>');
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址