32

A couple of days ago I noticed that for all websites, chrome omits from the address bar the protocol and the subdomain if it is www. My co-workers report that they are not seeing this. Chrome version is 67.0.3396.87.

For example, if I type into the address bar https://www.google.com (without the quotes), Chrome immediately displays the chip "Secure" followed by google.com. See attached screenshots.

what I enter

what Chrome displays

I have looked in vain for Chrome settings that affect this, plus the chrome://flags page and chrome://net-internals page.

I did not do anything consciously to make this change.

Any ideas?

EDIT: Suggestion from MrWhite that Ominbox UI Hide Stead-State URL Scheme and Trivial Subdomains had become enabled: good suggestion, except that the setting is still at “Default.” See screenshot:

Omnibox UI Hide Steady-State -- still set to Default

However, as a shot in the dark, I am going to play with the setting to see what happens.

First I set it to “Disabled.” That restored the previous behavior of the address bar, which is to not to hide the protocol and “trivial subdomains.” Then I changed it back to “Default,” and it was hiding them again. One would suspect that somehow the default has been changed, except that co-workers are not reporting this issue.

Oh, well. I’ll just leave it as Disabled for now.

I would be ready to accept the answer from MrWhite, because it provides a workaround. Yet will leave it open for a bit longer, because it does not really answer why this behavior has changed, and why it has to be overridden.

EDIT 2: Chrome version is 67.0.3396.87.

migrated from webmasters.stackexchange.com Jun 23 '18 at 1:08

This question came from our site for pro webmasters.

  • 1
    What version of Chrome are you using? – MrWhite Jun 25 '18 at 19:21
  • Please provide what your version of Chrome is, and maybe even ask your coworkers what version they have. It could be that yours was updated, but theirs are not. – mbomb007 Jun 25 '18 at 20:28
  • Noticed that, while I already changed this setting to "disabled" before, after updating to 76.0.3809.100, they reset this to default value again. They're pushing this misfeature so aggressively. – kolen Aug 13 at 15:46
25

The behaviour you are seeing is consistent with having the "Omnibox UI Hide Steady-State URL Scheme and Trivial Subdomains" setting enabled within chrome://flags.

Chrome Flag - Omnibox UI Hide Steady-State URL Scheme and Trivial Subdomains

Returning this flag to "Default" (or "Disabled") and restarting the browser (prompted) should get your scheme + subdomains back. This is on Chrome Version 67.0.3396.87 (Official Build) (64-bit) - Windows.

Except checking that setting does not show "Enabled"; rather it shows "Default".

As far as I can gather, whether "Default" means "Enabled" or "Disabled" is built-in to the Chrome executable. So, this is primarily version dependent. Note also that settings vary between "Developer" and "Stable" builds.

Settings can also be enabled/disabled in command line switches. So this is another area that is worth checking. Reference: https://peter.sh/experiments/chromium-command-line-switches/ - although I don't see much relating to the Omnibox in this list.


UPDATE Sept-2018: As noted in another answer, from Chrome Version 69 (tested Version 69.0.3497.81), this feature now seems to be enabled by "Default". So, you must explicitly set this to "Disabled" to remove this feature.


UPDATE Aug-2019: This option/flag has since been split into two (possibly since version 72 - according to @Kyborek in comments):

  • Omnibox UI Hide Steady-State URL Scheme
  • Omnibox UI Hide Steady-State URL Trivial Subdomains

The "Default" setting is enabled, so these options must be explicitly set to "Disabled" to get the "Scheme" and "Trivial Subdomains" back in the URL address bar. (Note that the insecure "http" scheme/protocol is always hidden, regardless of this option.)

Chrome Flags - Omnibox Hide Scheme and Trivial Subdomains

There is also a new(?), rather ominous, option: "Omnibox UI Hide Steady-State URL Path, Query, and Ref" which currently (Chrome version 76) appears to be disabled in its "Default" state. Something to keep an eye on though!

Chrome FLag - Omnibox UI Hide Steady-State URL Path, Query, and Ref

  • Sounds like it is a good explanation. Except checking that setting does not show "Enabled"; rather it shows "Default". See screen shot attached to original question. – Jeffrey Simon Jun 25 '18 at 15:35
  • Maybe the "Default" setting is enabled on your version of Chrome? Try explicitly setting this to "Disabled" (as mentioned above). What version of Chrome are you using? Whatever "default" means may also be configured somewhere in some "master" config file? I've tested this on Chrome version mentioned above, but I must explicitly "enable" this feature. I then get the same result you are seeing in your screenshots of the address bar. – MrWhite Jun 25 '18 at 15:45
  • 2
    I have to set it to "Disabled" to restore how it has always worked up until a few days ago. – Jeffrey Simon Jun 26 '18 at 19:59
  • 1
    Whatever "Omnibox UI hide..." I disable, it still hides plain http. – Ivan Feb 19 at 10:17
  • 1
    In Chrome version 73+ this setting is now named Omnibox UI Hide Steady-State URL Trivial Subdomains in case you want to search for it – Kyborek Feb 19 at 13:32
6

It is now default setting for chrome://flags/#omnibox-ui-hide-steady-state-url-scheme-and-subdomains

It will now also strip some other subdomains like "m.domain.com" to "domain.com", so "www.m.www.m.example.com" will show up as "example.com" in address bar unless "Omnibox UI Hide Steady-State URL Scheme and Trivial Subdomain" is set to disabled in Chrome 69

https://bugs.chromium.org/p/chromium/issues/detail?id=881410

1

Here is what's needed to get the scheme (aka protocol) and 'trivial' subdomains to be shown on Mac OS 10.13.6 running Chrome 70.0.3538.67:

  • chrome://flags/#views-browser-windows set to enabled
  • chrome://flags/#omnibox-ui-hide-steady-state-url-scheme-and-subdomains set to disabled
  • chrome://flags/#upcoming-ui-features set to Default or disabled.
  • Please do not post the same answer to multiple questions. If the same information really answers both questions, then one question (usually the newer one) should be closed as a duplicate of the other. You can indicate this by voting to close it as a duplicate or, if you don't have enough reputation for that, raise a flag to indicate that it's a duplicate. Otherwise tailor your answer to this question and don't just paste the same answer in multiple places. – DavidPostill Oct 23 '18 at 20:14
1

Additionally to the existing answers it keeps to mention that changes in the browser settings are not really required to get access to the full URL. Simply double-click in the URL-bar and you'll see it completely.

New contributor
David is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
0

In Chrome Canary (Version 78.0.3866.0 (Official Build) canary (64-bit)) on macOS Mojave I needed to disable both chrome://flags/#omnibox-ui-hide-steady-state-url-scheme and chrome://flags/#omnibox-ui-hide-steady-state-url-trivial-subdomains to get back the protocol and the (in my job not so) "trivial" subdomains.

0

Navigate to chrome://flags/ and set these three flags to "Disabled":

chrome://flags/#omnibox-ui-hide-steady-state-url-scheme

chrome://flags/#omnibox-ui-hide-steady-state-url-trivial-subdomains

chrome://flags/#omnibox-ui-hide-steady-state-url-path-query-and-ref

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.