Cerca nel supporto

Attenzione alle mail truffa. Mozilla non chiederà mai di chiamare o mandare messaggi a un numero di telefono o di inviare dati personali. Segnalare qualsiasi attività sospetta utilizzando l'opzione “Segnala abuso”.

Ulteriori informazioni

Questa discussione è archiviata. Inserire una nuova richiesta se occorre aiuto.

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

Tutte le risposte (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.

Modificato da jscher2000 - Support Volunteer il