mozilla-mobile / reference-browser

A full-featured browser reference implementation using Mozilla Android Components.
Mozilla Public License 2.0
578 stars 162 forks source link

Think about display of domains in URL bar #246

Open buttercookie42 opened 5 years ago

buttercookie42 commented 5 years ago

In response to this example of phishing via long subdomains that pretend to be a legitimate real domain, we (I) changed the display of URLs in Fennec to right align the domain part of the domain (see also #245) with the right edge of the URL bar. Additionally, we also made the URL display scrollable, although I have to admit that the latter potentially conflicts with adding gestures to the URL bar.

In any case we should think about how we want to display URLs and whether we want to continue right-aligning the eTLD+1.

pocmo commented 5 years ago

I'm biased but I think the scrollable, right-aligned URL is a great solution to the problem. If we really need gestures then we could decide to drop the scrolling - that's just sugar after tall.