Add a trailing slash to urls in Firefox again - gHacks Tech News

Add a trailing slash to urls in Firefox again

As a Firefox user you may remember that Mozilla some time ago decided to "optimize" the address displayed in the browser's urlbar by removing the http:// protocol information from the beginning and the / slash at the end for root domains. So, instead of seeing http://www.coffeeinated.com/ in the address bar, Firefox suddenly only displayed www.coffeeinated.com in there. Mozilla removed the favicon from the urlbar as well.

It is not really clear why Mozilla dumbed down the display but it is likely that the developers once again looked at how Google Chrome is handling the display of urls to replicate it exactly. Some have said that it is for the better of the user, that users do not understand how urls work and that less characters in the urlbar helps visualize the domain name to them. I'm not a fan of dumbing down as it would be far better to educate users about urls instead of just providing them with a limited display that is hiding some information.

One of the things that has irritated me lately is the removal of the trailing slash on root domains. I sometimes click on the url bar to add path information behind the trailing slash. With it being removed in Firefox, I now have to add that slash before I can write or paste the path information in the address bar. It may sound like a minor thing but it is actually a very frustrating experience.

firefox url with http trailing slash

What I like about Firefox is that it gives you options to undo most of what the developers have changed in the browser in recent time. While it may not be the case for all changes, you get modification options for many of them including the dumbed down address bar.

Back when Mozilla announced the change I published a guide that explained how you can add the http:// protocol back to the Firefox address bar, but what I failed to mention was that the very same workaround added the trailing slash back to the browser's address bar as well.

So, to get the trailing slash back for root domains you would do the following:

  1. Type about:config into the address bar and hit enter.
  2. Confirm that you will be careful if you load the page for the first time.
  3. Type in browser.urlbar.trimURLs
  4. Double-click the entry to set it to false

You should immediately notice that both http and the trailing slash are added back to addresses in the Firefox browser.

Advertisement

We need your help

Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.

We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats or subscription fees.

If you like our content, and would like to help, please consider making a contribution:


Previous Post: «
Next Post: »

Comments

  1. beemeeup said on February 11, 2013 at 1:48 pm
    Reply

    Other than a few speed improvements here and there, I have yet to here anything good about recent changes to Firefox. Nowadays it’s just about taking away more things people rely on, fixing things that not only wasn’t broken but actually useful to begin with.

    This is why I stick with Pale Moon. At least then I can be sure that retarded changes won’t be implemented by default, all while remaining up to date with the latest security and performance enhancements.

  2. JimT said on February 11, 2013 at 3:30 pm
    Reply

    +1 for Pale Moon. I made the switch early last summer, and have never looked back.

  3. noswal said on February 11, 2013 at 4:00 pm
    Reply

    Another thumbs up for Pale Moon. Switched about 6 months ago and hardly ever load FireFox anymore.

  4. George said on February 11, 2013 at 5:19 pm
    Reply

    Count me as another fan of Palemoon :-)

  5. Transcontinental said on February 11, 2013 at 7:12 pm
    Reply

    I’ve heard many good comments regarding Pale Moon. Requires a modern “infrastructure” though. Here with good old Charly we ain’t got the means, at this time!

  6. Uhtred said on February 11, 2013 at 8:19 pm
    Reply

    Thanks Martin, nice to have a full url with trailing slash again.

  7. Rafael said on February 12, 2013 at 2:58 am
    Reply

    Opera’s way of dealing with this is much better…
    It hides these parts of the URL, but when you click / focus the address field it displays the full URL (apart from giving the setting to disable the hiding) so it’s a win-win.

  8. Ken Saunders said on February 12, 2013 at 4:41 am
    Reply

    I’ve been using Locationbar² for years.
    https://addons.mozilla.org/en-US/firefox/addon/locationbar²

    * Puts emphasis on the domain to reduce spoofing risk
    * Linkifies URL segments (press Ctrl, Meta, Shift or Alt)
    * More URL formatting options configurable

    There’s a few bad reviews for it, but it works perfectly fine for me.
    There’s also this userstyle
    http://userstyles.org/styles/1842/firefox-locationbar-2-css-mods

    I don’t use that userstyle any longer (I use my own), but it’s a decent one.

  9. Bruce Tech Guy said on February 12, 2013 at 7:09 am
    Reply

    Great tip.

    The other change that I always make when installing or updating Firefox for myself or others I work with, is to turn off the gray-out of the address elements (called Domain highlighting):
    Find “browser.urlbar.formatting.enabled” in the about:config window
    Double click to change value to FALSE.

  10. batman said on February 12, 2013 at 10:37 am
    Reply

    this should not be up to the browser to device, but rather the webserver.

  11. batman said on February 12, 2013 at 10:37 am
    Reply

    decide i mean, sorry.

  12. Finvana said on February 12, 2013 at 10:47 am
    Reply

    I found the Luddite UI addon to be really helpful: https://addons.mozilla.org/en-US/firefox/addon/luddite-ui/.

    It lets you change lots of silly “innovations”.

  13. alph said on November 1, 2015 at 10:49 am
    Reply

    Thank you,

    this shall be the default setting.
    (otherwise we will reach the idiocracy very soon, but this seems to be the intention)

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

Please note that your comment may not appear immediately after you post it.