This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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

  • 2 (ردّان اثنان)
  • 1 has this problem
  • 1 view
  • آخر ردّ كتبه 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!

All Replies (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/