Search Liste engine

SearchBox for Family

This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require https://update.greatest.deepsurf.us/scripts/10393/56659/Search%20Liste%20engine.js

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