搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

How to cutom UI of Firefox dev console

  • 4 回覆
  • 2 有這個問題
  • 8 次檢視
  • 最近回覆由 Mehdi

more options

Hi,

Is there any way to use custom style/css for Firefox dev console?

Thanks!

Hi, Is there any way to use custom style/css for Firefox dev console? Thanks!

由 Mehdi 於 修改

所有回覆 (4)

more options

Hi, 1) Go to this url: chrome://browser/content/browser.xul This loads a page filled with Firefox GUI elements.

2) Open Tools-> Web Developer-> Inspector.

3) Inspect the element(s) you want to customize

4)Create a Stylish style that modifies those elements.

more options

evilssh said

Hi, 1) Go to this url: chrome://browser/content/browser.xul This loads a page filled with Firefox GUI elements. 2) Open Tools-> Web Developer-> Inspector. 3) Inspect the element(s) you want to customize 4)Create a Stylish style that modifies those elements.

Thanks, where I should put my custom CSS file? Also actually I need to customize Developer console, I could not open that in your mentioned URL. how I can open that too?

more options

right click inspect element the console is on the second tab.


you can visit this link for more info:

https://developer.mozilla.org/en-US/docs/Tools/Style_Editor

more options

evilssh said

right click inspect element the console is on the second tab. you can visit this link for more info: https://developer.mozilla.org/en-US/docs/Tools/Style_Editor

No, I know how to work with Dev console, (I'm web developer), I mean when I open your mentioned link, I can inspect (for example) toolbar items & change the CSS using Dev console. But the opened Dev console is for main window not for opened/editabled window.

I need to edit UI of Dev console not whole window (as I said in question title). (hope I could tell the point here)

由 Mehdi 於 修改