2 Ways to Activate YouTube’s Secret Dark Mode [How-to]

Be it the cute cat videos, the informative tech videos or exciting TED videos, YouTube is watched by millions for the broad range of content it offers. But then, YouTube, like most other websites has a white background. White background helps during day time but doesn’t seem to help your eyes during the night. How many times have you wished that you could make the white background black when viewing YouTube videos at night? The black background is always good to have during the night since it does not strain your eyes. Well, turns out YouTube does have a secret “Dark Mode”, which you can turn on to make the background black.

How to turn on YouTube’s secret “Dark Mode”

One of the Reddit users has discovered the secret Dark Mode in YouTube. There are two methods to turn on the Dark Mode. We present here both the methods –

Method 1: Editing the cookie file  

Follow these simple steps below to get the dark mode:

1. Head to www.youtube.com

2. Press Ctrl+Shift+I on YouTube home page. This opens up developer window.

3. In the developer window, head to Application tab.

4. In the sidebar of the Application tab, go to Cookies > https://www.youtube.com

5. In the table that you see, head to the row named ‘VISITOR_INFO1_LIVE‘. Double click the ‘value’ cell and replace it with this code: fPQ4jCL6EiE and hit Enter.

6. Refresh the page. Go to your avatar (appears when you have signed in). The avatar menu should now show an option to toggle dark mode.

Method 2: Using console tab

1. Head to www.youtube.com

2. Press Ctrl+Shift+I on YouTube home page. This opens up developer window.

3. In the developer window, head to Console tab.

4. Copy and paste these lines of code in the Console tab:

var cookieDate = new Date();

cookieDate.setFullYear(cookieDate.getFullYear( ) + 1);

document.cookie=”VISITOR_INFO1_LIVE=fPQ4jCL6EiE; expires=” + cookieDate.toGMTString( ) + “; path=/”;

5. Hit Enter. Note that this sets the cookie for a year. Which means, it expires after one year. Till then, you can enjoy Dark Mode toggle without having to paste this code in the Console tab every single time!

Check Also: TubeMate YouTube Downloader Free APK Download