Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

How to hide address bar in firefox 62.0.3 (32-bit)

  • 17 svar
  • 1 har detta problem
  • 1 visning
  • Senaste svar av cor-el

more options

How to hide address bar in firefox 62.0.3 (32-bit).

How to hide address bar in firefox 62.0.3 (32-bit).

Alla svar (17)

more options

Already solved question. visit https://support.mozilla.org/en-US/questions/1000369 for more info

more options

Firefox 62 is no longer supported. Please update to Firefox 72.

more options

Hi I have upgraded Mozilla to 72 version but still not able to hide address bar.

I want to hide address bar for mozilla so that no one can see the url.

Please help me.

more options

Anand Mishrai said

I want to hide address bar for mozilla so that no one can see the url.

See Firefox for Enterprise Kiosk mode.

more options

Hi TyDraniu ,

I really appreciate your support but if I have to open any url I have to launch via cmd line. But I want to launch mozilla from some other application. Is there any other way to hide address bar/ URL so that no one able to see the url.


Thanks, Anand Mishra

more options

You could try making the text invisible using a custom style rule in a userChrome.css file. It's a little bit of a project, so make sure you set aside 10 quiet minutes to work through it.

(For anyone who already has a userChrome.css file set up, you just need to add the rule under (A) to your file.)

(A) Select and copy the following style rule code

/* Hide URL in address bar unless focused */
#urlbar:not([focused="true"]) #urlbar-input {
  opacity: 0 !important;
}

(B) Generate and download a userChrome.css file

Open the following page and paste the above rules into the editor, replacing the sample rule:

https://www.userchrome.org/download-userchrome-css.html

Then click "Generate CSS File" and save the userChrome.css file to your computer. (See first attached screenshot)

Use the downloads list on the toolbar to open the downloads folder directly to the new userChrome.css file. (See second attached screenshot)

Minimize that file browser window for later reference.

(C) Create a new chrome folder in your profile folder

The following article has the detailed steps for that (#1, #2, and I recommend #3)

https://www.userchrome.org/how-create-userchrome-css.html

I have videos for both Windows and Mac in case the text is not clear.

(D) Move the userChrome.css file you generated in Step B into the chrome folder you created in Step C

(E) Set Firefox to look for userChrome.css at startup -- see step #6 in the above article.

The next time you exit Firefox and start it up again, it should discover that file and apply the rules.

The expected result is as follows:

more options

For Firefox 71 and later there is the kiosk mode available.

more options

jscher2000 said

You could try making the text invisible using a custom style rule in a userChrome.css file. It's a little bit of a project, so make sure you set aside 10 quiet minutes to work through it. (For anyone who already has a userChrome.css file set up, you just need to add the rule under (A) to your file.) (A) Select and copy the following style rule code
/* Hide URL in address bar unless focused */
#urlbar:not([focused="true"]) #urlbar-input {
  opacity: 0 !important;
}

(B) Generate and download a userChrome.css file

Open the following page and paste the above rules into the editor, replacing the sample rule:

https://www.userchrome.org/download-userchrome-css.html

Then click "Generate CSS File" and save the userChrome.css file to your computer. (See first attached screenshot)

Use the downloads list on the toolbar to open the downloads folder directly to the new userChrome.css file. (See second attached screenshot)

Minimize that file browser window for later reference.

(C) Create a new chrome folder in your profile folder

The following article has the detailed steps for that (#1, #2, and I recommend #3)

https://www.userchrome.org/how-create-userchrome-css.html

I have videos for both Windows and Mac in case the text is not clear.

(D) Move the userChrome.css file you generated in Step B into the chrome folder you created in Step C

(E) Set Firefox to look for userChrome.css at startup -- see step #6 in the above article.

The next time you exit Firefox and start it up again, it should discover that file and apply the rules.

The expected result is as follows:



Thanks for your time, With this solution I'm able to hide contains of address bar but if I click on address bar I'm able to see the complete URL.

Is there any way to clock the address bar (So that If I click on the address bar nothing should be visible). Please let me know if you need any other info from me.

more options

You can modify the rule to make the address bar text invisible at all times, but how will you use the browser?

more options

Do you have a specific reason or use case that you want to hide the address bar ?

more options

jscher2000 said

You can modify the rule to make the address bar text invisible at all times, but how will you use the browser?


Hi ,

Thanks a lot for your time. I'll be launching mozilla via cmd line(I have another app that will trigger mozilla with address/dns).

I want to hide url/address bar so that no one will be able to see the url and won't able to access the ulr with out the app.

Is there any way to do this?

more options

cor-el said

Do you have a specific reason or use case that you want to hide the address bar ?


Yes I do have reason to hide url.

1. we have few IP's that can be accessed from anyone from my organization and we don't have any tool/app, that can tell us who accessed the IP's (accounting logs).

I have an application that can launch mozilla with IP. you have to click on button and app will launch mozilla with specific IP. SO if I'm hiding URL thn no one would see the IP can will not be able access them without the app. This will give me logs who access the IP's

I'm not good with cmd line , it would be good if you can tell me what need to be changed in code.

more options

Anand Mishra said

SO if I'm hiding URL thn no one would see the IP can will not be able access them without the app.

You cannot rely on hiding the address bar to prevent users from discovering the URL. For example:

The Page Info dialog lists the full URL of the current page. Either:

  • right-click > View Page Info
  • (menu bar) Tools > Page Info

The Network Monitor in Developer Tools also lists full URLs.

The Task Manager's Details tab, if you add the Command Line column, will show the command line used by your app to launch Firefox.

more options

If you update to Firefox 71 then you can give builtin kiosk mode a try like posted above by TyDraniu to see whether that addresses your requirements.

more options

jscher2000 said

Anand Mishra said
SO if I'm hiding URL thn no one would see the IP can will not be able access them without the app.

You cannot rely on hiding the address bar to prevent users from discovering the URL. For example:

The Page Info dialog lists the full URL of the current page. Either:

  • right-click > View Page Info
  • (menu bar) Tools > Page Info

The Network Monitor in Developer Tools also lists full URLs.

The Task Manager's Details tab, if you add the Command Line column, will show the command line used by your app to launch Firefox.


Okay ,


I'm not sure if people will put some efforts to search the details of url but your point is valid, can you suggest what can be done to hide the address bar.

more options

Since this sounds likely to require a lot of fine-tuning that is beyond the scope of support, I suggest pursuing it on this subreddit:

https://www.reddit.com/r/FirefoxCSS/

more options

Is there any content like images or links to other pages present that can be used to reveal the basic URL if you hover such an element ?

There is so much to check if you want to hide the domain part of the URL and links on pages that any possible interaction can get access to this information.

You can use a policies.json file to disable and hide the developer tools and disable access to some internal about and settings pages.