Wednesday, 4 September 2019

How to Remove a URL’s Trailing Underscore in 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.

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.

RELATED: How to Search Any Site from Chrome’s Address Bar

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.

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.

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.”

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.

How to Remove Trailing Underscores

Read the remaining 15 paragraphs



from How-To Geek https://ift.tt/30VHltz

No comments:

Post a Comment