Den här webbplatsen har begränsad funktionalitet medan vi utför underhåll för att förbättra din upplevelse. Om en artikel inte löser ditt problem och du vill ställa en fråga har vi vår gemenskap som väntar på att hjälpa dig på @FirefoxSupport på Twitter, /r/firefox på Reddit.

Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

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

  • 2 svar
  • 1 har detta problem
  • 1 visning
  • Senaste svar av 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!

Alla svar (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/