您可以为任何网站创建自定义搜索引擎(Custom Search Engine),并按照本文中规定的步骤通过Chrome或Edge浏览器的地址栏进行搜索。(Edge)例如,我们将讨论Google Drive,因为许多人使用它来保存几乎所有的文档,如果您是其中之一,我相信您每天都会搜索它们。如果您可以直接从地址栏中搜索Google Drive ,则可以打开Google Drive并进行搜索,这将节省大量时间。在这篇文章中,我们将分享如何直接从地址(Address)栏中使用Google Drive 。它适用于Chrome,Edge,或任何允许您手动添加搜索引擎的浏览器。
(Search)直接从地址栏(Address Bar)搜索任何网站(Chrome和Edge)
使用我们的方法直接从地址栏搜索任何网站的基本条件是它们应该支持“ q=%s” 查询格式。这里“s”是搜索词,q是查询参数。(“s” is the search term, and q is the query parameter.)现在一个网站可能使用了不同的字母或字符。找出答案的最佳方法是在该网站上进行搜索并找出答案。这里有一些例子:
- 邮箱:https://mail.google.com/mail/ca/u/0/#apps/%s
- YouTube:https://www.youtube.com/results?search_query=%s&page={startPage?}&utm_source=opensearch
- 脸书:https://www.facebook.com/search/top/?q=%s&opensearch=1
- 推特:https://twitter.com/search?q=%s
- SoundCloud:https://soundcloud.com/search?q=%s
- 亚马逊:https://www.amazon.in/s/ref=nb_sb_noss_2?url=search-alias%3Daps&field-keywords=%s
为了进一步解释,我以Google Drive和TheWindowsClub为例。由于Chrome和Edge使用Chromium,因此实现是相似的。最好的部分是您不需要更改默认搜索引擎,而是即时切换它。
如何 直接从浏览器在Google Drive上搜索(Google Drive)
- 在Edge和Chrome中打开搜索设置(Search Settings)
- 创建自定义搜索引擎
- 执行搜索。
Firefox不允许您添加自定义搜索引擎,而是只支持OpenSearch。
1]在Edge和Chrome中(Chrome)打开搜索设置(Open Search Settings)
在边缘: (In Edge: )
- 单击右上角(Click)的三点菜单,然后单击设置。
- 单击(Click)汉堡菜单,然后选择隐私(Privacy)和服务(Services)
- 滚动到最后,然后找到服务> Address栏。点击(Click)箭头
在 Chrome 中(In Chrome)
- 单击(Click)垂直三点菜单,然后打开Search Engine > Manage Search Engine
- 单击(Click)添加(Add)以打开添加搜索引擎(Add Search Engine)选项
2]为Google Drive创建(Create)自定义搜索引擎(Custom Search Engine)
在上述步骤中,两者都将打开“添加搜索引擎(Add Search Engine)”窗口。其中包含三个字段。使用 %s 代替查询的搜索引擎(Search Engine)、关键字(Keyword)和URL 。
第二个盒子很关键。它将作为切换到Google Drive搜索的快捷方式。因此,如果您将其命名为Drive ,则在(Drive)多功能框(Omnibox)或地址栏中键入单词“ Drive ”,然后按 Tab。它将用Google Drive搜索引擎替换默认搜索引擎。这是我在案例中的命名方式-
- 搜索引擎:GDrive
- 关键字:驱动器
- 网址:https://drive.google.com/drive/u/0/search?q=%s
单击(Click)添加(Add)按钮。Google Drive将出现在浏览器可用的搜索引擎列表中。The search query will replace %s.
如果您是第一次来这里,我相信您会注意到添加了大量的搜索引擎。每次您访问提供OpenSearch标准且浏览器可以接受的网站时,它都会添加该标准。
3]执行搜索
要直接从地址栏搜索Google Drive ,请输入“ (Google Drive)Drive ”,然后按Drive。
Google Drive搜索将立即可用。您应该会看到突出显示的文本“在Google Drive中搜索”。
现在键入要搜索的文件名或文本,然后按回车键。
它将根据查询打开带有结果的Google Drive 。这与打开Google Drive(Google Drive)后搜索时没有区别。
如何直接从浏览器搜索TheWindowsClub
如果您在TheWindowsClub(TheWindowsClub)上搜索解决方案,您可以直接从Chrome或Edge在我们的网站上搜索。执行与上述相同的步骤,并使用URL查询
https://www.thewindowsclub.com/the-windows-club-search-results?q=%s
确保(Make)将Engine和关键字(keyword)命名为TWC。
现在下次您要搜索时,输入TWC,按 Tab 键,输入您的查询,然后按 Enter。您将直接访问TheWindowsClub搜索页面,并显示结果。
因此,您可以将网站的搜索引擎作为自定义搜索引擎添加到 Chrome 或 Edge。
我们希望这些步骤易于遵循,并且您可以使用此提示直接从浏览器中搜索任何网站。
Search any website directly from the Chrome or Edge Address Bar
You can create a Custom Search Engine for any website and search it via Chrome or Edge browser’s address bar by following the procedure laid down in this post. As an example, we will talk of Google Drive as many use it to save almost all the documents, and if you are one of them, I am sure you search for them every day. While you can open Google Drive and search if you can directly search Google Drive from the address bar, it’s going to save a lot of time. In this post, we will share how you can Google Drive directly from the Address bar. It works for Chrome, Edge, or any browser, which allows you to add search engines manually.
Search any website directly from Address Bar (Chrome and Edge)
The basic criteria to search any website directly from the address bar, using our method, is that they should support the “q=%s” query format. Here “s” is the search term, and q is the query parameter. Now a website may have used different alphabet or character. The best way to figure out is to make a search on that website and figure it out. Here are a few examples:
- Gmail: https://mail.google.com/mail/ca/u/0/#apps/%s
- YouTube: https://www.youtube.com/results?search_query=%s&page={startPage?}&utm_source=opensearch
- Facebook: https://www.facebook.com/search/top/?q=%s&opensearch=1
- Twitter: https://twitter.com/search?q=%s
- SoundCloud: https://soundcloud.com/search?q=%s
- Amazon: https://www.amazon.in/s/ref=nb_sb_noss_2?url=search-alias%3Daps&field-keywords=%s
To explain it further, I am taking Google Drive and TheWindowsClub as examples. Since Chrome and Edge use Chromium, and hence the implementation is similar. The best part is that you do not need to change the default search engine, but switch it on the fly.
How to Search on Google Drive directly from the browser
- Open Search Settings in Edge and Chrome
- Create a Custom Search Engine
- Perform a search.
Firefox doesn’t allow you to add a custom search engine, but instead only supports OpenSearch.
1] Open Search Settings in Edge and Chrome
In Edge:
- Click on the three-dot menu on the top right, and click on Settings.
- Click on the hamburger menu, and select Privacy and Services
- Scroll to the end, and locate Services > Address bar. Click on the arrow
In Chrome
- Click on the vertical three-dot menu and then open Search Engine > Manage Search Engine
- Click on Add to open the Add Search Engine option
2] Create a Custom Search Engine for Google Drive
In the above steps, both will open the Add Search Engine window. There are three fields in it. Search Engine, Keyword, and URL with %s in place of the query.
The second box is crucial. It will act as a shortcut to switch to Google Drive search. So if you name it as Drive, then type the word “Drive” in the Omnibox or address bar and then press tab. It will replace the default search engine with Google Drive search engine. Here is how I named in my case-
- Search Engine: GDrive
- Keyword: Drive
- URL: https://drive.google.com/drive/u/0/search?q=%s
Click on the Add button. Google Drive will appear in the list of search engines available with the browser. The search query will replace %s.
If you are here for the first time, I am sure you would notice tons of search engine added. Every time you visit a website that offers an OpenSearch standard, which the browser can accept, it will add it.
3] Perform Search
To search Google Drive directly from the address bar, type “Drive,” and then press Drive.
Google Drive search will become instantly available. You should see the highlighted text “Search in Google Drive.”
Now type the file name or text you want to search, followed by the enter key.
It will open Google Drive with results based on the query. There will be no difference between this and when you search after opening Google Drive.
How to Search on TheWindowsClub directly from the browser
If you search for solutions on TheWindowsClub, you can directly search on our website from Chrome or Edge. Follow the same steps as stated above, and use the URL query
https://www.thewindowsclub.com/the-windows-club-search-results?q=%s
Make sure to name the Engine and keyword as TWC.
Now the next time you want to search, type TWC, press tab, type your query, and press enter. You will visit TheWindowsClub search page directly, and results will be displayed.
Thus, you can add a website’s search engine to Chrome or Edge as a Custom Search Engine.
We hope the steps were easy to follow, and you were able to search on any website directly from the browser using this tip.