搜尋 Mozilla 技術支援網站

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

了解更多

How mak an iMacro to toggle Tools >Options > Content > Colors > Allow Pages Own Colors

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

more options

Every day in Firefox I go back and forth repeatedly, enabling my own System Colors, then going back to "Allow pages to choose their own colors".

I've tried to create an iMacro to do this, but apparently I haven't leaned iMacros correctly, because none of the several times I've tried it have worked.

Can someone write the macro for me, or tell me what the steps of the iMacro should be?

The two setting I want to toggle are: Tools > Options > Content* > Colors > Allow pages to choose their own colors, instead of my selections above and Tools > Options > Content* > Colors > [uncheck] Allow pages to choose their own colors, instead of my selections above

  • I always leave Content selected in the Tools > Options window, specifically so I can do the above series without having to mouse-click on Content

Thanks!

Every day in Firefox I go back and forth repeatedly, enabling my own System Colors, then going back to "Allow pages to choose their own colors". I've tried to create an iMacro to do this, but apparently I haven't leaned iMacros correctly, because none of the several times I've tried it have worked. Can someone write the macro for me, or tell me what the steps of the iMacro should be? The two setting I want to toggle are: Tools > Options > Content* > Colors > Allow pages to choose their own colors, instead of my selections above and Tools > Options > Content* > Colors > [uncheck] Allow pages to choose their own colors, instead of my selections above * I always leave Content selected in the Tools > Options window, specifically so I can do the above series without having to mouse-click on Content Thanks!

所有回覆 (2)

more options

If you need to do this at startup then check for problems with the prefs.

You can create a file user.js in the Firefox profile folder to set the browser.display.use_document_colors to true.

  • user_pref("browser.display.use_document_colors", true);

The user.js file is read each time you start Firefox and initializes preferences to the value specified in this file, so preferences set via user.js can only be changed temporarily for the current session.

more options

hello, you could simply try it with an add-on like https://addons.mozilla.org/en-US/firefox/addon/toggledocumentcolors-198916/