NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name autocomplete search // @namespace torn // @version 0.2 // @description autocomplete search // @author You // @include *www.torn.com/forums.php // @license MIT // ==/UserScript== var observerTarget = $( "#forums-page-wrap" )[0]; var observerConfig = {childList: true}; var observer = new MutationObserver(function(mutations) { $('input[name*="searchword"]').attr("autocomplete","on") }); observer.observe(observerTarget, observerConfig);