How to show the full URL in Firefox

Hello and welcome to another article about tips for bug hunters. Today I will answer a question I got about Firefox: how do you show the full URL in Firefox?

Back in the days, Firefox used to always show the http or https in the URL, however, that is not longer the case. Nowadays, the URLs are trimmed and you no longer see the protocol used. This is very annoying when you are testing a Web application or trying to solve a CTF challenge, so here are the steps to show the full URL in Firefox.

First, we need to open a new tab in Firefox, type about:config in the address bar, and press ENTER. Once we do that, we will be presented with the following message:

Click on the “I accept the risk!” button and you will get to this page.

Here, we can use the search box to look for the correct preference name. In this case, the preference name that specifies whether Firefox trims or not a URL is the browser.urlbar.trimURLs preference name. So, let’s type it in the search bar.

At this point, we simply have to double-click browser.urlbar.trimURLs to toggle it from true to false and tell Firefox to show the full URLs.

To make sure it worked, let’s close this tab and go back to the previous one.

As expected, you now see the full URL.

I hope this article was helpful. If you have any other questions, please feel free to let me know via LinkedIn (https://www.linkedin.com/in/giannignesa/) or via Twitter (@ptracesecurity / @GianniGnesa).