Tech News

YouTube has a ‘Dark Mode,’ here is how you enable it

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:

var cookieDate = new Date(); cookieDate.setFullYear(cookieDate.getFullYear( ) + 1); document.cookie=”VISITOR_INFO1_LIVE=fPQ4jCL6EiE; expires=” + cookieDate.toGMTString( ) + “; path=/”;

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.

Source: Techspot

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s