Greasy Fork

Search Liste engine

SearchBox for Family

目前为 2015-06-12 提交的版本。查看 最新版本

此脚本不应直接安装,它是一个供其他脚本使用的外部库。如果您需要使用该库,请在脚本元属性加入:// @require https://update.greasyfork.icu/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>");
});