Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

ค้นหาฝ่ายสนับสนุน

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

เรียนรู้เพิ่มเติม

Change URL text color in Private Browsing - Firefox 4

  • 5 การตอบกลับ
  • 7 คนมีปัญหานี้
  • 166 ครั้งที่ดู
  • ตอบกลับล่าสุดโดย cor-el

In Firefox 3.6.x, I was able to change the text color to red in the URL bar when in private browsing mode by adding the following in the chrome folder, overly.css file for an extension:

[browsingmode=private] #urlbar { background: #000  !important; color: #F00 !important; }

That code no longer works for the same extension in Firefox 4.

Any suggestions as to how to change Firefox 4 URL text color to red when in private browsing mode?

In Firefox 3.6.x, I was able to change the text color to red in the URL bar when in private browsing mode by adding the following in the chrome folder, overly.css file for an extension: [browsingmode=private] #urlbar { background: #000 !important; color: #F00 !important; } That code no longer works for the same extension in Firefox 4. Any suggestions as to how to change Firefox 4 URL text color to red when in private browsing mode?

วิธีแก้ปัญหาที่เลือก

Try these instead:

[privatebrowsingmode="temporary"]
[privatebrowsingmode="permanent"]

[privatebrowsingmode="permanent"] #urlbar { background: #000  !important; color: #F00 !important; }
อ่านคำตอบนี้ในบริบท 👍 1

การตอบกลับทั้งหมด (5)

วิธีแก้ปัญหาที่เลือก

Try these instead:

[privatebrowsingmode="temporary"]
[privatebrowsingmode="permanent"]

[privatebrowsingmode="permanent"] #urlbar { background: #000  !important; color: #F00 !important; }

เปลี่ยนแปลงโดย cor-el เมื่อ

Got it! Thanks

I used light yellow background with red text:

[privatebrowsingmode="temporary"] #urlbar { background: #FFFFCC  !important; color: #F00 !important; }

Is there a reference for the Firefox 4 "css descriptors" changes, for example:

[browsingmode=private] is now

  • [privatebrowsingmode="temporary"] or
  • [privatebrowsingmode="permanent"]

with some explanations?

เปลี่ยนแปลงโดย SafeBrowser เมื่อ

Thanks for the help. You always have the answer.

You're welcome