🏠 

Greasy Fork is available in English.

Search Liste engine

SearchBox for Family

此脚本不应直接安装,它是一个供其他脚本使用的外部库。如果您需要使用该库,请在脚本元属性加入:// @require https://update.greasyfork.org/scripts/10393/56659/Search%20Liste%20engine.js

// ==UserScript==
// @name         Search Liste engine
// @version      0.2
// @description  SearchBox for Family
// @author       Gohan89
// @match        http://www.marchofhistory.com/*
// @grant        none
// ==/UserScript==
jQuery.expr[":"].Contains = function(obj,index,meta) {
return jQuery(obj).text().toUpperCase().indexOf(meta[3].toUpperCase()) >= 0;
};
$(document).on("click", ".tabsMenu.ui-tabs-anchor", function(){
$("div.searchbox").remove();
$("div.listingStrategie_wrapper").prepend("<div class='searchbox'><input name='search'></div>");
});