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

搜尋 Mozilla 技術支援網站

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

了解更多

Transparency on Browser Window

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

more options

I have a program installed on Windows 10 that allows me to have transparent window borders like Windows Vista/7, but it doesn't seem to work on Firefox when set to the "Default" theme. Firefox instead shows my system color [shown in image]. Firefox handles transparency correctly on an actual installation of Vista/7, so is it possible to achieve the same effect? Maybe it's located somewhere in about:config or I would need to have a custom "userChrome.css" file to make it register?

I have a program installed on Windows 10 that allows me to have transparent window borders like Windows Vista/7, but it doesn't seem to work on Firefox when set to the "Default" theme. Firefox instead shows my system color [shown in image]. Firefox handles transparency correctly on an actual installation of Vista/7, so is it possible to achieve the same effect? Maybe it's located somewhere in about:config or I would need to have a custom "userChrome.css" file to make it register?
附加的畫面擷圖

所有回覆 (3)

more options

I tried inputting the following CSS code into the userChrome file, but it only duplicated the window's color, not it's transparency:

:root{
  --titlebar-text-color:#fff!important;
}
#main-window:root:not(:-moz-window-inactive):not(:-moz-lwtheme){
  background-color:-moz-win-accentcolor!important;
}
.tabbrowser-tab:hover .tab-background:not([selected="true"]){
  background-color:rgba(255,255,255,.1)!important;
}
.tabbrowser-tab:hover .tab-line:not([selected="true"]){
  background-color:rgba(255,255,255,.2)!important;
}

I really am at a loss here. Is there any way to achieve this affect on a Win10 system?

由 cor-el 於 修改

more options

Turns out, you have to use a program called ResourceHacker [or some alternative] and remove the line of the text in the executable file that specifies Windows 10. The instructions are linked below:

https://msfn.org/board/topic/177620-aeroglass-and-firefox/ https://msfn.org/board/topic/176089-aero-glass-for-win81-151/page/16/?tab=comments#comment-1135709

more options

Turns out, I had to use a program called ResourceHacker [there may be alternatives] to modify the part of the executable that specifies a Windows 10 system. The guides I followed are listed here:

https://msfn.org/board/topic/177620-aeroglass-and-firefox/ https://msfn.org/board/topic/176089-aero-glass-for-win81-151/page/16/?tab=comments#comment-1135709