While there are several ways to block YouTube ads here’s why you shouldn’t use them and instead use this simple browser command which blocks all YouTube ads just like other add-ons or extensions! This simple command can block the video ads which play inside videos as well and you don’t have to use an additional plugin or extension or add-on! No installations whatsoever!
You just need to copy-paste a simple command in your browser’s developer console and you are good to go. You’ll never see an advertisement again while browsing your favorite YouTube videos.
Out of the several experiments being conducted by Google at TestTube, one less known experiment can successfully hide all ads on YouTube with a simple browser command. Here’s how to use it:
- Open any YouTube video. Any video works but try with a video where you can see some ads.
- Open the developer console. You can right-click -> Click on Inspect Element -> Choose Console. Or simply press Ctrl-Shift-J for Google Chrome and Ctrl-Shift-K for Mozilla Firefox and in Internet Explorer, press F12 and select Console.
- Paste the following code:
document.cookie="VISITOR_INFO1_LIVE=oKckVSqvaGw; path=/; domain=.youtube.com";window.location.reload();
If you wish to see the advertisements again simply follow the first two steps and paste this code instead.
document.cookie="VISITOR_INFO1_LIVE=; path=/; domain=.youtube.com";window.location.reload();
And the ads are gone. Well since this a temporary workaround and not a permanent solution we really can’t predict when it’ll stop working. But for now since it’s working let’s use it and forget what’s to come in future! Enjoy an ad-free experience without any plugins!