Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How chrome URLS work?

When I say,

chrome://downloads

here my understanding is, chrome is a protocol talking to chrome engine and downloads is like a tag name for specific request to chrome engine.

Is that correct? How does it work(under the hood)?

like image 227
overexchange Avatar asked May 06 '17 15:05

overexchange


People also ask

What do Chrome URLs do?

It opens Chrome's main Settings page. Using the URL address, you can create a bookmark which lets you easily access the Chrome settings with just a click.

Does Chrome send URLs to Google?

When you can't connect to a web page, you can get suggestions for alternative pages similar to the one that you're trying to contact. In order to offer you suggestions, Chrome sends Google the URL of the page that you're trying to reach.


1 Answers

It's just an internal protocol handler. Browser itself registers a handler to handle URLs that use that protocol. Browsers even let you register your own protocol handlers nowadays.

For more info see:

  • https://www.w3.org/TR/html5/webappapis.html#dom-navigator-registerprotocolhandler

  • https://developer.mozilla.org/en-US/docs/Web/API/Navigator/registerProtocolHandler

  • https://developers.google.com/web/updates/2011/06/Registering-a-custom-protocol-handler

like image 114
ArtBIT Avatar answered Oct 02 '22 11:10

ArtBIT