// ==UserScript== // @author Oleg Valter // @description Fix chat Stack Exchange community search without having to wait 6 to 8 weeks // @grant none // @homepage https://github.com/userscripters/chat-search-fixup#readme // @match https://chat.stackexchange.com // @match https://chat.stackoverflow.com // @name chat-community-search-fixup // @namespace userscripters // @source git+https://github.com/userscripters/chat-search-fixup.git // @supportURL https://github.com/userscripters/chat-search-fixup/issues // @version 1.0.0 // ==/UserScript== "use strict"; (function (w, d) { "use strict"; const searchClass = "js-site-filter-txt"; w.addEventListener("load", () => { $.ajaxSetup({ converters: { "text html": (data) => data.replace(new RegExp(`( sheet.insertRule(rule)); }); })(window, document);