Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

How to hide the full URL from address bar?

  • 10 відповідей
  • 1 має цю проблему
  • 1 перегляд
  • Остання відповідь від Amay

more options

I have the browser.urlbar.trimURLs switched to TRUE but still as you can see in the screenshot it shows the complete URL with the protocols. I do not want this, I want it to hide it and only show the main link like youtube.com instead of https://youtube.com

I have the browser.urlbar.trimURLs switched to TRUE but still as you can see in the screenshot it shows the complete URL with the protocols. I do not want this, I want it to hide it and only show the main link like youtube.com instead of https://youtube.com
Прикріплені знімки екрана

Обране рішення

Here is the solution, my friend asked on Reddit and someone replied with adding the following in useChrome.css file:


.urlbar-input-box{

 overflow: clip;

}

  1. urlbar-input{
 margin-left: calc(var(--urlbar-scheme-size) * -0.76) !important;

}


Source: https://www.reddit.com/r/FirefoxCSS/c.../ifgqo1q(https://www.reddit.com/r/FirefoxCSS/comments/vujzqp/-/ifgqo1q)

Читати цю відповідь у контексті 👍 0

Усі відповіді (10)

more options

Hi Amay, I am not aware of any method to hide the https:// for secure addresses. It does seem that with the lock icon there, it's not critical to show https:// if you aren't showing http://.

Mozilla recently started up a new "Ideas" site at https://connect.mozilla.org/. I think if you have time, it would be a good idea to post there to get into the current feedback stream.

more options
more options

What are you talking about?

more options

http can be trimmed, but not https.

Devs are planning to fix it, probably the next year.

https://bugzilla.mozilla.org/show_bug.cgi?id=1067293#c35

more options

So, just to confirm, there is no way to hide the redundant HTTP or HTTPS from address bar at the moment?

It even shows the WWW, no way to hide any of the three?

more options

Amay said

So, just to confirm, there is no way to hide the redundant HTTP or HTTPS from address bar at the moment?

http:// is hidden by default; https:// is not.

It even shows the WWW, no way to hide any of the three?

There is no setting to hide parts of the host name; Firefox always shows the entire server host name. Firefox does show the base domain name in a contrasting print color for slightly easier spotting, but it definitely could be made bolder for easier spotting:

more options

I think it used to hide WWW also but now it does not, is there any flag for that?

more options

Amay said

I think it used to hide WWW also but now it does not, is there any flag for that?

It did not, and No.

more options

See also:

  • 1736955 - Trim www, https:// scheme, and slashes from URLs
  • 1067293 - Omit "https://"

(please do not comment in bug reports
https://bugzilla.mozilla.org/page.cgi?id=etiquette.html
)

Змінено cor-el

more options

Вибране рішення

Here is the solution, my friend asked on Reddit and someone replied with adding the following in useChrome.css file:


.urlbar-input-box{

 overflow: clip;

}

  1. urlbar-input{
 margin-left: calc(var(--urlbar-scheme-size) * -0.76) !important;

}


Source: https://www.reddit.com/r/FirefoxCSS/c.../ifgqo1q(https://www.reddit.com/r/FirefoxCSS/comments/vujzqp/-/ifgqo1q)

Змінено Amay