Претражи подршку

Избегните преваре подршке. Никада од вас нећемо тражити да зовете или шаљете поруке на број или да делите личне податке. Пријавите сумњиве радње преко „Пријавите злоупотребу” опције.

Сазнај више

Want to disable search suggestions on Wikipedia, other sites

more options

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".

Сви одговори (1)

more options

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.

Измењено од стране jscher2000 - Support Volunteer