chrome下划线_如何在Chrome中删除URL的下划线

chrome下划线

chrome下划线

Trailing underscore logo image.

Google Chrome lets you add custom search engines to search any site with a special keyword. However, sometimes Chrome adds a trailing underscore to the URL, which can cause problems if you try to enter it in the address bar.

Google Chrome浏览器可让您添加自定义搜索引擎,以使用特殊关键字搜索任何网站。 但是,有时Chrome会在URL的末尾添加下划线,如果您尝试在地址栏中输入URL,则会引起问题。

为什么会这样? (Why Does This Happen?)

Although it’s uncertain why this happens, it seems as though Chrome adds a trailing underscore to some URLs that use a custom search or keyword to query a website.

尽管不确定为什么会发生这种情况,但是Chrome似乎在某些使用自定义搜索或关键字来查询网站的网址中添加了下划线。

One theory is that somewhere along the line when you add a custom search engine, it gets duplicated, and instead of throwing an error and breaking, Chrome appends the keyword with an underscore and continues as if nothing happened.

一种理论是,当您添加自定义搜索引擎时,它会重复出现,并且不会抛出错误和中断,Chrome会在关键字后面加上下划线并继续,就好像什么都没发生一样。

The main problem with this is the keyword looks a lot like a properly formed URL—only with an underscore at the end. When you start to type a URL in the Omnibox, Chrome suggests this underscore-containing URL, and then you could either hit Tab or Enter to complete the action.

这样做的主要问题是关键字看起来很像一个格式正确的URL,仅在末尾加下划线。 当您开始在多功能框中键入URL时,Chrome会建议使用包含下划线的URL,然后您可以按Tab键或Enter键以完成操作。

If you chose to press Tab, you can enter a search term to query that website—great! However, if you decide to hit Enter, Chrome tries to look up that website’s IP address; when the DNS probe can’t find anything, you get an error stating, “This site can’t be reached.”

如果您选择按Tab,则可以输入搜索词来查询该网站-太好了! 但是,如果您决定按Enter键,Chrome会尝试查找该网站的IP地址。 当DNS探针找不到任何东西时,您会收到一条错误消息,指出“无法访问此站点。”

Page error if you hit Enter.

Unfortunately, there’s no rhyme or reason as to why this bug affects only certain URLs, but here’s an easy fix that only takes a minute or two.

不幸的是,没有关于此错误仅影响某些URL的押韵或原因,但这是一个简单的修复方法,只需花费一两分钟。

如何删除下划线 (How to Remove Trailing Underscores)

While you could just use Chrome’s Shift+Delete keyboard command to remove this particular entry from the Omnibox suggestion, this method only deletes the entry in your browser’s history. You need to find the actual search engine keyword in the Search Engine settings for Chrome.

虽然您可以仅使用Chrome的Shift + Delete键盘命令从多功能框建议中删除该特定条目,但此方法只会删除浏览器历史记录中的条目。 您需要在Chrome的搜索引擎设置中找到实际的搜索引擎关键字。

Go ahead and fire up Chrome, click the three-dot button in the top-right corner, and then choose “Settings.”

继续并启动Chrome,点击右上角的三点按钮,然后选择“设置”。

Click the menu button, and then click Settings

Scroll down until you see the Search Engine section and then click on “Manage Search Engines.”

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

Click on "Manage search engines" under the section Search Engine.

If you don’t know the exact URL to search for, you can scroll through the list or type an underscore (_) in the search bar at the top of the window. As any Query URL that contains an underscore is included, pay attention to the keyword of each entry.

如果您不知道要搜索的确切URL,则可以滚动列表或在窗口顶部的搜索栏中键入下划线(_)。 由于包括了任何包含下划线的查询URL,因此请注意每个条目的关键字。

Type an underscore in the search bar to locate any instances of a keyword containing one.

Next, click the three dots next to the troublesome search engine. If you want to remove it completely, click “Remove from List” to delete it. Otherwise, if you want to keep it and just remove the underscore, click “Edit.”

接下来,点击麻烦的搜索引擎旁边的三个点。 如果要完全删除它,请单击“从列表中删除”将其删除。 否则,如果要保留它并仅删除下划线,请单击“编辑”。

Click the three dots, and then click on "Edit."

Now, remove the underscore from the keyword or enter a new name and then click “Save.”

现在,从关键字中删除下划线或输入新名称,然后单击“保存”。

Remove the underscore or change the keyword completely, and then click "Save."

If you have more than one case of a trailing underscore in a URL, repeat this process for each in the “Manage Search Engines” settings page.

如果您的网址中有多个下划线的情况,请在“管理搜索引擎”设置页面中对每个重复下划线。



Although this bug may not affect everyone, this is a quick and simple way to remove a trailing underscore and fix the custom search engine’s keyword string. Now, you’ll be able to enter the URL without being sent to an error page in Chrome.

尽管此错误可能不会影响所有人,但这是一种删除结尾的下划线并修复自定义搜索引擎的关键字字符串的快速简便的方法。 现在,您无需输入网址即可直接发送到Chrome中的错误页面。

翻译自: https://www.howtogeek.com/438727/how-to-remove-a-urls-trailing-underscore-in-chrome/

chrome下划线

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值