phseiff / phseiff.github.io

The source code repo for my personal website
https://phseiff.com
Other
10 stars 2 forks source link

Make the website an exception in darkreader #23

Closed phseiff closed 4 years ago

phseiff commented 4 years ago

My website is already in darkmode (using the darkreader library), so it might clash with users additionally using the darkreader browser extension -which is why I should add <meta name="darkreader" instance="104d4afa-2a17-4971-b5af-7914e4f49e72"> to the website's header to ensure the extension isn't used. This uses this feature of darkreader.

phseiff commented 4 years ago

I have done this (though I had to replace instance with content to make it work), and it works just fine.