Scott O’Hara’s article about using JavaScript to detect high contrast and dark modes includes a small, very useful script to do exactly what the title says. The script will detect if you currently have high contrast mode or dark mode enabled, and will output the result. The output of that script at first looked like it was a “false positive”
2 Comments
Sort: