X
Tap here to go to the mobile version of the site.

Support Forum

Want to disable search suggestions on Wikipedia, other sites

Posted

Whenever I search Wikipedia for something (NOT using the search engine in the toolbar; I mean Wikipedia.org proper), if I type ANYTHING into the search bar, a drop down list of commonly-searched things beginning with that letter(s) appears. I wish to disable this "feature".

Whenever I search Wikipedia for something (NOT using the search engine in the toolbar; I mean Wikipedia.org proper), if I type ANYTHING into the search bar, a drop down list of commonly-searched things beginning with that letter(s) appears. I wish to disable this "feature".

Additional System Details

Installed Plug-ins

  • Shockwave Flash 11.8 r800
  • GFACE Plugin
  • Google Talk Plugin Video Accelerator version:0.1.44.29
  • Version 4.5.3.14917
  • NVIDIA 3D Vision plugin for Mozilla browsers
  • NVIDIA 3D Vision Streaming plugin for Mozilla browsers
  • VLC media player Web Plugin 2.0.6
  • Google Update
  • Next Generation Java Plug-in 10.25.2 for Mozilla browsers
  • NPRuntime Script Plug-in Library for Java(TM) Deploy
  • Unity Player 4.1.5f1
  • The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
  • 5.1.20513.0
  • iTunes Detector Plug-in
  • Pando Web Plugin
  • Adobe PDF Plug-In For Firefox and Netscape 11.0.02
  • NPWLPG

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0

More Information

jscher2000
  • Top 10 Contributor
3775 solutions 33417 answers

I don't think there is a universal solution for this. Each site names its form elements and runs its autocomplete/autosuggest scripts differently.

For example, Wikipedia sets up a datalist element and then attaches a script to the input box that updates the list every time you type a character. You can rip out the list and then the script will quietly fail and nothing gets displayed. You can try that by pressing Ctrl+Shift+k to open the web console, paste the following (long) line of script next to the caret (>), press Enter, then close the web console again.*

var dl=document.getElementById("suggestions"); dl.parentNode.removeChild(dl);

But it can't easily be generalized to other sites that use different approaches...

* If you leave the console open, you can see Wikipedia sending your input to the server for suggestions as you type, and the error when the script tries to update the missing datalist.

I don't think there is a universal solution for this. Each site names its form elements and runs its autocomplete/autosuggest scripts differently. For example, Wikipedia sets up a datalist element and then attaches a script to the input box that updates the list every time you type a character. You can rip out the list and then the script will quietly fail and nothing gets displayed. You can try that by pressing Ctrl+Shift+k to open the web console, paste the following (long) line of script next to the caret (>), press Enter, then close the web console again.* var dl=document.getElementById("suggestions"); dl.parentNode.removeChild(dl); But it can't easily be generalized to other sites that use different approaches... ''* If you leave the console open, you can see Wikipedia sending your input to the server for suggestions as you type, and the error when the script tries to update the missing datalist.''

Modified by jscher2000