Jump to content

User:Weeklyd3/scripts/autocomplete

From Wikipedia, the free encyclopedia

This is a script I created to fill in the search box with searched terms. It records a search term in the history every time the Enter key is pressed.

Type something, and a suggestion will appear if it can be found.

Installation

[edit]

To install on this wiki, copy the JavaScript below to this page. To install it on all wikis, copy it to here.

mw.loader.load('https://en.wikipedia.org/wiki/User:weeklyd3/scripts/autocomplete.js?action=raw&ctype=text/javascript'); // Backlink: User:weeklyd3/scripts/autocomplete.js