為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

I Want to make an extension but want help learning how.

  • 2 回覆
  • 1 有這個問題
  • 2 次檢視
  • 最近回覆由 McCoy

more options

Hi, I loved the older Firefox because I could make it look how I liked with "Classic Theme Restorer" but that is not available for the newer FireFox. So I thought I might try making something similar for this FireFox Quantum 65.0.1. I just want to start with something simple. Changing the tab colours to light green when selected, dark green when not selected and red if a new tab has not been selected/read yet. I would like to work with someone that would be happy to help me do this so I can also learn some basics of extensions for FireFox. Thankyou, Glenn

Hi, I loved the older Firefox because I could make it look how I liked with "Classic Theme Restorer" but that is not available for the newer FireFox. So I thought I might try making something similar for this FireFox Quantum 65.0.1. I just want to start with something simple. Changing the tab colours to light green when selected, dark green when not selected and red if a new tab has not been selected/read yet. I would like to work with someone that would be happy to help me do this so I can also learn some basics of extensions for FireFox. Thankyou, Glenn
附加的畫面擷圖

所有回覆 (2)

more options

With Quantum extension developers are really limited as to what they could do to customize the UI (User Interface), which is one reason Classic Theme Restorer and many other extensions aren't compatible and died (or were killed off by Mozilla). Same holds true for Themes, but for a variety of other reasons.

userChrome.css modifications are what's done with Quantum. https://www.userchrome.org/ https://www.howtogeek.com/334716/how-to-customize-firefoxs-user-interface-with-userchrome.css/

Here is code that can be used that is similar to what the Classic Theme Restorer extension previously did for Firefox in the Australis UI. https://github.com/Aris-t2/CustomCSSforFx

And here is a collection of userChrome.css codes that is probably the ultimate guide. https://www.reddit.com/r/FirefoxCSS/

more options