SearchBox for Family
当前为
此脚本不应直接安装。它是供其他脚本使用的外部库,要使用该库请加入元指令 // @require https://update.cn-greasyfork.org/scripts/10393/56545/Search%20Liste%20engine.js
// ==UserScript==
// @name Search Liste engine
// @version 0.1
// @description SearchBox for Family
// @author Gohan89
// @match http://www.marchofhistory.com/*
// @grant none
// ==/UserScript==
$.expr[":"].contains = $.expr.createPseudo(function(arg) {
return function( elem ) {
return $(elem).text().toUpperCase().indexOf(arg.toUpperCase()) >= 0;
};
});
$(document).on("click", ".tabsMenu.ui-tabs-anchor", function(){
$("div.searchbox").remove();
$("div.listingStrategie_wrapper").prepend("<div class='searchbox'><input name='search'></div>");
});