supercyber.blogg.se

Night time mode for youtube on a mac
Night time mode for youtube on a mac









Press Enter, Refresh and bam! You should be good!īy the way, you can also do this in Microsoft Edge: Dark Mode in Microsoft Edge Now all you need to do is to click the Console tab, paste in: var cookieDate = new Date() tFullYear(cookieDate.getFullYear( ) + 1) okie="VISITOR_INFO1_LIVE=fPQ4jCL6EiE expires=" + cookieDate.toGMTString( ) + " path=/" Then in the left pane, expand “Cookies”, click on “” and then in right pane, right click the VISITOR_INFO1_LIVE cookie and click Delete. In the graphic below you can see it’s underlined with a light-blue line. Go back into Developer Mode ( Ctrl + Shift + i), then click the Applications tab in Developer Tools. If you don’t even have this menu under your profile you may need to delete the old Youtube cookie first before adding this new one. If it isn’t showing up for you, click your profile icon in the upper right corner to see an option to toggle Dark Mode on. Now press Ctrl + Shift + i again to close the console pane, refresh the page and you should notice that the Youtube homepage is now displayed in a svelte new dark mode. I want the cookie to apply to and all subdomains so that’s why I put in that forward slash. We tak on the expiration date and set the path to “/” which indicates the root directory of the site. Next, we set the special cookie that will give us dark mode in Youtube: okie="VISITOR_INFO1_LIVE=fPQ4jCL6EiE I’m setting the cookie to expire next year. Here, I’m passing the current year to the cookieDate object after adding 1 to it.

night time mode for youtube on a mac

We can use the setFullYear() method to achieve this task. In other words, we need to tell the browser when this cookie will become invalid and no longer work. Next, we take need to set the cookie expiration date. We’re creating a new JavaScript data object, from the Date class, and we’re naming it cookieDate.

night time mode for youtube on a mac

Now we need to enter some data: var cookieDate = new Date() tFullYear(cookieDate.getFullYear( ) + 1) okie="VISITOR_INFO1_LIVE=fPQ4jCL6EiE expires=" + cookieDate.toGMTString( ) + " path=/" Now we need to open the Chrome developer tools so we can add a secret cookie value to your browser. Go ahead and pop this into the Chrome omnibar: chrome://help

night time mode for youtube on a mac

The first thing you need to do is to make sure you are at Chrome version 57. This shiz is awesome – let me show you how it works. It’s currently not published by Google and only a few people know about it but it’s also awesome because it makes it easier to view the Youtube site (especially late at night when your eyes are already tired) So YouTube has a slick secret feature that let’s you change everything into a Dark Mode.











Night time mode for youtube on a mac