Quantcast
Channel: Active questions tagged javascript - Stack Overflow
Viewing all articles
Browse latest Browse all 138163

How to detect invert color mode on user side by JS/JQuery?

$
0
0

I'd like to know about using/unused by user invert color mode (standard windows/mac function for visually impaired people ). Is this mode active or inactive? Is it possible?

I'm trying to use window.matchMedia('(-ms-high-contrast: active)') for Windows or window.matchMedia('(inverted-colors)') for Mac, but it doesn't work.

Is there any working solution for it by using JS/jQuery?


Viewing all articles
Browse latest Browse all 138163

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>