-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Clean URL display #7077
Comments
We will postpone this work until we have time to think through different use cases and scenarios to make sure we don't create any security risks. First step would be to discuss with the security team. |
Chromium has a really good document that covers some best practices for URL elision. |
@topotropic since she's on search |
Please don't hide significant subdomain labels. Highlighting the "registered domain" (eTLD+1, if you can get that out of Gecko or have a front-end copy of the Public Suffix List) can be helpful drawing attention past spoofy first bits, but the first bits are still significant. Your picture shows the full Ambiguous from the picture, but if there is a non-default port you need to show that, too. If a URL has been canonicalized by Gecko then any port that remains will be a non-default one and should be shown. And please show the current Fenix slashed-lock icon (or some equivalent) for any scheme that is not Another tricky case (but common on mobile) is when the origin is too long for the space. In that case show as much of the "end" of the origin as you can. |
Hi @dveditz, apologies for not clarifying. I typed the wrong thing. I totally agree with you that we should never skip showing significant subdomains. The I showed that in the mobile example – second screenshot – but wrote incorrectly that we should take the desktop approach wholesale. Sorry about that! Yes, I didn’t show non-https schemes. I agree, in those cases, that a crossed-out lock icon should be shown – which has a red slash to help signify potential danger. The “origin too long” problem is interesting, and isn’t something I’ve thought of. It will become an issue on our devices, particularly in portrait orientation. I’m happy to take your advise on that. I am probably still missing a lot of use cases. Can you think of more? |
Ah yes, the second picture looks fine for what it represents in the "normal" case, so let's worry about edge cases.
I could go on, we will invent new ones in the future, and we're even proposing to allow WebExtensions to be able to add their own handlers (to support dWeb). Most won't have a "host" you can fake--you'll need a plan for these. And for many of them the oddball scheme is actually important and shouldn't be hidden behind a slashed lock that implies "http:". Easiest is perhaps to just show the whole URL if the scheme is not one of a list you have special handling for.
|
For the first PR towards this isse, we are only hiding 'https/http' and 'www' and not shortening/abbreviating any part of the string with ellipses. When testing, please verify that. |
Verified this is fixed in Beta 4.2. |
How can an user disable this? Setting Lack of the protocol is minor as the security state indicates it more accurately, but lack of www is prone to creating real confusion as the address bar does not indicate the real host the user is on. |
Is there a site where www and non-www offer different pages? Is this a purely theoretical situation or do you have a concrete example? @Madis0 |
Some school and legacy sites don't work (or redirect) without www. |
I also have some personal and test sites that proxy to different locations with and without www. This should absolutely be an option (it's pretty clear from Chrome's change that a sizeable part of the user base hates it). Chrome's similar change is making me strongly consider moving to Firefox (currently evaluating it on the different platforms I use) now that they have removed the option to re-enable it. |
There is a quite popular OpenNET portal that has different pages www.opennet.ru and opennet.ru. |
User Story
As a user, I want to see the top-level domain of a site when I look at the address bar without having to tap or scroll, so I easily and quickly know that I am on the site I want to be on.
Acceptance Criteria
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: