Quick Search

Quick search for Google,google image, google scholar, duckduckgo, twitter, GitHub.... You don't need to enter the whole links, you just need to use `g keyword` to google search, `yt keyword`to youtube.com search. and don't worry about like 'yt ' , you just will go to youtube.com. nothing will change.

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
WhyWhatHow
日安装量
0
总安装量
37
评分
0 0 0
版本
1.9
创建于
2023-04-18
更新于
2023-04-26
大小
7.8 KB
许可证
MIT
适用于
所有网站

Quick Search Userscript


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.

Installation

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:

  1. Click on the extension icon and select "Create a new script".
  2. Copy and paste the code from the Quick Search Userscript section into the script editor.
  3. Click on "File" and then "Save" to save the script.
  4. Click on "File" and then "Activate" to activate the script.

How to Use

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 Google
  • gi: Search Google Images
  • gs: Search Google Scholar
  • d: Search DuckDuckGo
  • t: Search Twitter
  • gh: Search GitHub
  • yt: Search YouTube
  • w: Search Wikipedia
  • wa: Search WolframAlpha
  • r: 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".

Quick Search Userscript

Here's the code for the Quick Search userscript: Quick-search