chrome地址栏更换搜索_如何从Chrome的地址栏中搜索任何网站

chrome地址栏更换搜索

chrome地址栏更换搜索

Chrome is the browser of choice for many people, and if you’re looking to supercharge your search game, there’s a quick and easy way to search all of your favorite sites directly from the address bar (or as Google calls it, the Omnibox). Let’s talk about it.

Chrome是许多人的首选浏览器,如果您想增强搜索游戏的质量,可以使用一种快速简便的方法直接从地址栏中搜索所有喜欢的网站(或Google称为“多功能框”) 。 让我们来谈谈它。

We’ve already covered searching Google Drive from the omnibox, and this same basic method can be used to search any site across the board. Even if a site doesn’t have a dedicated search, you can use Google to search only that site, which is super rad. We’ll cover both methods here: sites with a dedicated search function, as well as sites that you’d rather use Google for.

我们已经介绍了从多功能框搜索Google云端硬盘 ,并且可以使用相同的基本方法来全面搜索任何网站。 即使一个站点没有专门的搜索,您也可以使用Google来搜索该站点,这是非常好的。 我们将在此处介绍这两种方法:具有专用搜索功能的网站,以及您希望使用Google的网站。

如何从地址栏中使用网站的搜索工具 (How to Use a Website’s Search Tool from the Address Bar)

For the sake of example, let’s say you use Amazon all the time. Instead of going to the site and hitting up Amazon’s search bar for what you’re looking for, you can shave seconds off your time by just doing it directly from Chrome. You can go ahead and start planning what you’ll do with all that extra time.

举例来说,假设您一直在使用Amazon。 您可以直接从Chrome浏览器中进行操作,从而节省时间 ,而无需前往该网站并在亚马逊的搜索栏中找到所需的内容。 您可以继续,并计划所有多余的时间将要做什么。

To do this, we’re going to set up a custom search engine within Chrome using Amazon-specific parameters. So go ahead and jump to Amazon, then search for something. You’ll need the URL after a search has been executed. It’ll look like this:

为此,我们将使用Amazon特定的参数在Chrome中设置自定义搜索引擎。 因此,继续前进到亚马逊,然后搜索。 执行搜索后,您将需要URL。 它看起来像这样:

https://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Daps&field-keywords=galaxy+s8

The search string is fairly lengthy, but you’ll need to copy the entire thing. We’ll change a bit of it in the coming steps.

搜索字符串相当长,但是您需要复制整个内容。 在接下来的步骤中,我们将对其进行一些更改。

Next, go ahead and click the three-dot button in the top right corner in Chrome, then choose Settings.

接下来,继续并单击Chrome右上角的三点按钮,然后选择“设置”。

From here, scroll down to the “Search Engines” section, and click “Manage search engines.”

从此处向下滚动到“搜索引擎”部分,然后单击“管理搜索引擎”。

Under this menu, click “Add” next to the Other Search Engines section header.

在此菜单下,单击“其他搜索引擎”部分标题旁边的“添加”。

In the first box, enter the name of the site you’ll be searching. In this example, we’re using Amazon.

在第一个框中,输入您要搜索的网站的名称。 在此示例中,我们使用亚马逊。

In the second box, entire a shortcode—again, related the site you’re searching. I’m going with “amn” here, but you can use whatever shortcode you want.

在第二个框中,再次输入完整的简码,与您正在搜索的网站相关。 我在这里使用“ amn”,但是您可以使用所需的任何简码。

Finally, paste the link you copied earlier. But here’s the important bit: you’ll need to change search query to %s in the URL. So, basically, remove the term you searched for from the string and replace it with %s . So this:

最后,粘贴您先前复制的链接。 但这是重要的一点:您需要将搜索查询更改为URL中的%s 。 因此,基本上,从字符串中删除搜索的术语,然后将其替换为%s 。 所以这:

https://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Daps&field-keywords=galaxy+s8

Becomes this:

变成这个:

https://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Daps&field-keywords=%s

At the end, it should look like this:

最后,它应如下所示:

Click “Save” at the bottom, and you’re finished.

单击底部的“保存”,完成操作。

From now on, you can just type “amn” and the space bar in the omnibox, followed by your search query to quickly search Amazon.

从现在开始,您只需在多功能框中键入“ amn”和空格键,然后输入搜索查询即可快速搜索Amazon。

Again, this can easily be modified for whatever site you like, just simply remove your search query from the link and replace it with %s .

同样,您可以轻松地针对您喜欢的任何站点修改此名称,只需从链接中删除搜索查询,然后将其替换为%s

如何从地址栏中使用Google搜索特定站点 (How to Search a Specific Site using Google from the Address Bar)

If a certain site doesn’t have a search function (or the search function is lacking), then you can also search specific sites using Google. In turn, you can use this search to create a custom search engine in Chrome to make it super fast and easy.

如果某个站点没有搜索功能(或缺少搜索功能),那么您也可以使用Google搜索特定站点。 反过来,您可以使用此搜索在Chrome中创建自定义搜索引擎,从而使其变得超级快速,便捷。

For example, let’s say you really like a site called How-to Geek, and you want to be able to search it for tech knowledge at a moment’s notice. You can search Google for just pages on How-To Geek using a very similar trick to the above.

例如,假设您确实喜欢一个名为How-to Geek的网站,并且希望能够在瞬间发现它以搜索技术知识。 您可以使用与上述非常类似的技巧在Google上的How-To Geek页面上搜索页面。

First off, you’ll need to know how to tell Google you what site you want to search. It’s actually really easy, as it’s something that’s built into Google natively. Use this command:

首先,您需要知道如何告诉Google您要搜索的网站。 实际上,这真的很容易,因为它是Google本身内置的。 使用此命令:

site:howtogeek.com <search term>

Once you enter that, it basically tells Google that you want to search that one particular site for the query.

输入后,它基本上会告诉Google您要搜索该特定站点的查询。

In this scenario, I searched the site for “Android,” so the URL looks a little something like this:

在这种情况下,我在站点上搜索了“ Android”,因此URL看起来像这样:

https://www.google.com/search?rlz=1C1CHKZ_enUS439US439&sourceid=chrome&ie=UTF-8&q=site:howtogeek.com+android

That’s what we’re going to use to create our custom Google search.

这就是我们将用来创建自定义Google搜索的内容。

Back in Chrome, click the three dots in the upper right corner, then select “Settings.”

返回Chrome,点击右上角的三个点,然后选择“设置”。

Scroll down until you see the Search Engines category, and click on “Manage Search Engines.”

向下滚动,直到看到“搜索引擎”类别,然后单击“管理搜索引擎”。

Click “Add” next to the Other Search Engines header.

点击“其他搜索引擎”标题旁边的“添加”。

In this dialog box, enter the name for your custom search in the first spot. We’re just calling this one “Google HTG Search,” but you can change the name accordingly (especially if you’re using a different site).

在此对话框中,在第一位置输入自定义搜索的名称。 我们只是将其称为“ Google HTG搜索”,但是您可以相应地更改名称(特别是如果您使用的是其他网站)。

In the second box, enter a custom search keyword, which is what you’ll use to execute the command. We’ll use “htg” here, but again you can change it accord to your needs.

在第二个框中,输入自定义搜索关键字,这将是您用来执行命令的内容。 我们将在此处使用“ htg”,但您仍然可以根据需要进行更改。

Lastly, we’ll enter the custom URL. You’ll use the exact URL you copied earlier, but change one key piece. At the very end of the URL, you’ll remove the search term and replace it with %s. So, in our example, this:

最后,我们将输入自定义URL。 您将使用之前复制的确切URL,但更改一个关键部分。 在网址的最后,您将删除搜索词并将其替换为%s。 因此,在我们的示例中,这是:

https://www.google.com/search?rlz=1C1CHKZ_enUS439US439&sourceid=chrome&ie=UTF-8&q=site:howtogeek.com+android

Becomes this:

变成这个:

https://www.google.com/search?rlz=1C1CHKZ_enUS439US439&sourceid=chrome&ie=UTF-8&q=site:howtogeek.com+%s

Make sure to only change the term after the plus sign at the end—everything before that is necessary to properly execute the command.

确保仅更改最后一个加号之后的术语,这是正确执行命令所必需的所有操作。

So, the end result should look like this (again, assuming you’re following along with our exact scenario here):

因此,最终结果应如下所示(再次,假设您遵循此处的确切方案):

At that point, you just need to enter the search term—in our case, “htg”—followed by a space and your query. Bam, you just searched a specific site using Google.

此时,您只需要输入搜索词(在我们的示例中为“ htg”),然后是空格和您的查询。 Bam,您刚刚使用Google搜索了特定站点。



This is a really quick and simple way to execute a search for any site on the web, which will provide more meaningful results for a specific topic. I have dozens of these searches set up, which decreases the amount of time I spend digging through results exponentially.

这是对网络上任何站点执行搜索的一种非常快速,简单的方法,它将为特定主题提供更有意义的结果。 我设置了数十种搜索,这减少了我成倍地挖掘结果所花费的时间。

In both of our examples, you need only modify the search string for your specific needs.

在我们两个示例中,您只需要修改搜索字符串即可满足您的特定需求。

翻译自: https://www.howtogeek.com/304330/how-to-search-any-site-from-chromes-address-bar/

chrome地址栏更换搜索

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值