Dark mode in chrome without extensions

Sahil Malik
Winsmarts.com
Published in
May 11, 2022

--

Here is a quick trick I use to enable dark mode on any website in chrome without the use of extensions.

I have a general dislike for extensions since they have access to too much and we use browsers for too much. Seriously, browsers need a permission model, but whatever.

It’s pretty easy, just create a bookmark like this, .. for text I like to give it an emoticon, but anything works.

The URL text is as follows,

javascript: function addcss(css){      var head =…

--

--