搜尋 Mozilla 技術支援網站

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

了解更多

Tab/Program Brightness

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

more options

Hello support,

is there any way (other than the one plugin I found that did not work for some reason) to adjust firefox' general brightness (or that of an individual tab) ?

Also changing my monitors brightness would not work for me as I am trying to test a website I develop (using firefox to visualize it) and it is rather just the large difference between my editor (which's brightness you can not adjust) and the browser that is very unpleasent when I switch back and forth (like when trying to fix a bug).

Kindest regards.

Jonas Behr

Hello support, is there any way (other than the one plugin I found that did not work for some reason) to adjust firefox' general brightness (or that of an individual tab) ? Also changing my monitors brightness would not work for me as I am trying to test a website I develop (using firefox to visualize it) and it is rather just the large difference between my editor (which's brightness you can not adjust) and the browser that is very unpleasent when I switch back and forth (like when trying to fix a bug). Kindest regards. Jonas Behr

所有回覆 (2)

more options

I found this one that can dim the current page, but because it has limited permissions, you have to click the button on every page load (except going Back, the page remains filtered going Back):

https://addons.mozilla.org/firefox/addon/brightnessslider/

If you look under the hood (https://github.com/dkameoka/brightness-addon/blob/main/brightness.js#L10), it injects CSS to apply a brightness filter. For example, 80% brightness:

html {filter: brightness(80%) !important;}

Which is something you could apply automatically to your site using the Stylus extension (https://addons.mozilla.org/firefox/addon/styl-us/) or, with a little more difficulty, a userContent.css file.

more options

A simple bookmarklet:

javascript:void(document.querySelector('html').style.filter='brightness(80%)')