Staring into the glare of a computer screen all day makes your eyes tired and sore. Sure, you could take a break, but who has time for that? Applying a dark theme to whatever application you are working with can help, but not all software allows this. Thanks to this Reddit tip, we can now activate a dark theme to one of the web applications we spend the most time staring into, YouTube.

Dark Mode has not yet been announced because it’s still in testing along with several other new features to the website. I have tested it in Chrome, Opera and Firefox, and got it to work in all of them.

If you would like to try it out, it is very simple to activate.

First be sure that Chrome is updated to version 57 or later (current versions of other browsers worked just as well). Go to any YouTube page and then open the developer console window. On Windows machines, you can use the shortcut Ctrl + Shift + I and if you are using a Mac hit Option + Command + I. Click the Console tab and then type or paste the following:

Hit enter and then close the developer window and refresh the page. Now click on the settings button (your avatar if you are signed in). There will be a Dark Mode option and clicking it will bring up a toggle switch. Set it to “on” and enjoy the relief from the glare.

Keep in mind that what you are doing here is setting a cookie, so if you clear your cookies, you will have to go through this process again.