Board Thread:Support Requests - Getting Technical/@comment-24894967-20170621233139/@comment-27345308-20170621235448

If you're talking about the searchbar on Special:Search, you can use in your wiki's JS (with customization). If you're talking about the searchbar in the global navigation, it can't be modified with JS so I think there is no way for that one.