The Quick Search userscript allows you to search various websites quickly and easily by just typing a command followed by a search keyword. The supported websites include Google, Google Images, Google Scholar, DuckDuckGo, Twitter, GitHub, YouTube, Wikipedia, WolframAlpha, and Reddit.
To use the Quick Search userscript, you need to install a userscript manager extension for your browser, such as Tampermonkey or Greasemonkey. Once you have installed the extension, follow these steps:
- Click on the extension icon and select "Create a new script".
- Copy and paste the code from the Quick Search Userscript section into the script editor.
- Click on "File" and then "Save" to save the script.
- Click on "File" and then "Activate" to activate the script.
To use the Quick Search userscript, simply press the g
key (keyboard) to bring up the prompt, then enter a search term and hit enter. You can also press the :
key (colon) to bring up a help menu with a list of available search commands.
Here are the available search commands:
g
: Search Googlegi
: Search Google Imagesgs
: Search Google Scholard
: Search DuckDuckGot
: Search Twittergh
: Search GitHubyt
: Search YouTubew
: Search Wikipediawa
: Search WolframAlphar
: Search Reddit
For example, to search for "cats" on Google, simply type g g cats
and hit enter. The userscript will take you to the Google search results page for "cats".
Here's the code for the Quick Search userscript: Quick-search