X
點擊此處開啟此網站的行動版。
Scheduled maintenance: Thursday, April 2, between 3pm and 5pm UTC. This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn’t solve your issue and you want to ask a question, we have our support community waiting to help you at @firefox on Twitter

技術支援討論區

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

已張貼

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

How to hide address bar in firefox 62.0.3 (32-bit).
引用
Chris Jaroc 0 個解決方法 6 個答案

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

Already solved question. visit https://support.mozilla.org/en-US/questions/1000369 for more info
這篇文章有幫助嗎? 0
引用
user633449 1539 個解決方法 10745 個答案

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

Firefox 62 is no longer supported. Please update to Firefox 72.
這篇文章有幫助嗎?
引用

提出問題者

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.

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.
這篇文章有幫助嗎?
引用
TyDraniu
  • Top 25 Contributor
378 個解決方法 2111 個答案

Anand Mishrai said

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

See Firefox Enterprise Kiosk mode.

''Anand Mishrai [[#answer-1291876|said]]'' <blockquote> I want to hide address bar for mozilla so that no one can see the url. </blockquote> See [[Firefox Enterprise Kiosk mode]].
這篇文章有幫助嗎?
引用

提出問題者

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

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
這篇文章有幫助嗎?
引用
jscher2000
  • Top 10 Contributor
8953 個解決方法 73374 個答案

有幫助的回覆

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:

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''' <pre>/* Hide URL in address bar unless focused */ #urlbar:not([focused="true"]) #urlbar-input { opacity: 0 !important; } </pre> '''(B) Generate and download a''' <code>userChrome.css</code> '''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''' <code>chrome</code> '''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''' <code>userChrome.css</code> '''file you generated in Step B into the''' <code>chrome</code> '''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: <img src="https://user-media-prod-cdn.itsre-sumo.mozilla.net/uploads/images/2020-02-20-07-37-43-0a6aff.png" width="550">
這篇文章有幫助嗎? 1
引用
cor-el
  • Top 10 Contributor
  • Moderator
17857 個解決方法 161589 個答案

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

For Firefox 71 and later there is the kiosk mode available. *https://support.mozilla.org/en-US/kb/firefox-enterprise-kiosk-mode
這篇文章有幫助嗎?
引用

提出問題者

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.

''jscher2000 [[#answer-1291915|said]]'' <blockquote> 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''' <pre>/* Hide URL in address bar unless focused */ #urlbar:not([focused="true"]) #urlbar-input { opacity: 0 !important; } </pre> '''(B) Generate and download a''' <code>userChrome.css</code> '''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''' <code>chrome</code> '''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''' <code>userChrome.css</code> '''file you generated in Step B into the''' <code>chrome</code> '''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: <img src="https://user-media-prod-cdn.itsre-sumo.mozilla.net/uploads/images/2020-02-20-07-37-43-0a6aff.png" width="550"> </blockquote> 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.
這篇文章有幫助嗎?
引用
jscher2000
  • Top 10 Contributor
8953 個解決方法 73374 個答案

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

You can modify the rule to make the address bar text invisible at all times, but how will you use the browser?
這篇文章有幫助嗎?
引用
cor-el
  • Top 10 Contributor
  • Moderator
17857 個解決方法 161589 個答案

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

Do you have a specific reason or use case that you want to hide the address bar ?
這篇文章有幫助嗎?
引用

提出問題者

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?

''jscher2000 [[#answer-1292469|said]]'' <blockquote> You can modify the rule to make the address bar text invisible at all times, but how will you use the browser? </blockquote> 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?
這篇文章有幫助嗎?
引用

提出問題者

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.

''cor-el [[#answer-1292484|said]]'' <blockquote> Do you have a specific reason or use case that you want to hide the address bar ? </blockquote> 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.
這篇文章有幫助嗎?
引用
jscher2000
  • Top 10 Contributor
8953 個解決方法 73374 個答案

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.

''Anand Mishra [[#answer-1292492|said]]'' <blockquote>SO if I'm hiding URL thn no one would see the IP can will not be able access them without the app. </blockquote> 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.
這篇文章有幫助嗎?
引用
cor-el
  • Top 10 Contributor
  • Moderator
17857 個解決方法 161589 個答案

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.

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.
這篇文章有幫助嗎?
引用

提出問題者

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.

''jscher2000 [[#answer-1292493|said]]'' <blockquote> ''Anand Mishra [[#answer-1292492|said]]'' <blockquote>SO if I'm hiding URL thn no one would see the IP can will not be able access them without the app. </blockquote> 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. </blockquote> 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.
這篇文章有幫助嗎?
引用
jscher2000
  • Top 10 Contributor
8953 個解決方法 73374 個答案

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/

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/
這篇文章有幫助嗎?
引用
cor-el
  • Top 10 Contributor
  • Moderator
17857 個解決方法 161589 個答案

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.

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. *https://github.com/mozilla/policy-templates/blob/master/README.md
這篇文章有幫助嗎?
引用
問個問題

如果您還沒有帳號,您必須先 登入您的帳號 來回覆文章。請 開始一個新問題