Søg i Support

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 to change "layout.css.prefers-contrast.enabled" to true programatically

  • Ingen svar
  • 1 har dette problem
  • 1 visning
more options

I have written some css styles to apply on windows high contrast mode by using prefers-contrast media query and by enabling "layout.css.prefers-contrast.enabled" to true, the changes are workingin my firefox 88.0.1 (64-bit) browser.

But I want to change this setting programmatically to make my changes work for all users. Please suggest.

Du skal logge ind på din konto for at svare på et indlæg. Start et nyt spørgsmål, hvis du ikke har en konto endnu.