您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
adds a search box on the wrangling home page to filter your assigned fandoms by their name
// ==UserScript== // @name AO3: [Wrangling] Search Wrangling Home // @description adds a search box on the wrangling home page to filter your assigned fandoms by their name // @version 0.1 // @author Rhine // @namespace https://github.com/RhineCloud // @include http*://*archiveofourown.org/tag_wranglers/* // @require https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js // @grant none // ==/UserScript== (function($) { const table = $('div.assigned.module table'); const assigned = table.find('tbody tr'); // insert the search box table.before('<p><input type="text" id="fandom_search" placeholder="Search.."></p>'); // make it do the hiding/showing after typing $('#fandom_search').on('keyup', function() { let query = $(this).val().toLowerCase(); assigned.hide(); assigned.filter(function() { return $(this).find('th').text().toLowerCase().indexOf(query) > -1; }).show(); }); })(jQuery);
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址