How to Block YouTube Ads Using a Command Code

0
19

I am an ardent user of YouTube which happens to be the world’s most popular video sharing website as of today. One of the things I tend to abhor when ever I want to watch a video on YouTube is the time I had to wait for an advert which the uploader or copyright holder have enabled, to finish. Although I do not have anything against this because it is one of the ways the uploader or copyright holder use in making his/her money from the said video. But in a situation where one doesn’t want to view such ads, the person can simply block the feature by using the simple script I am going to share with you guys today.

There are several methods of blocking this ads from appearing but this method is best since you won’t have to install any extension or third party application to get it done. Note that for you to use any of such extension or third party application, you need to be using browsers which they were created for because they are different for different browsers. With the script I am going to share with you guys today, you can block YouTube ads when using any browser of your choice.

So to be able to block YouTube ads without installing any extension, plugin, add-ons or any other third party applications, simply follow the below steps;

  • Visit YouTube and search for any video you want to watch which has ads enabled.
  • Open your browser’s console by right clicking anywhere on the YouTube page that doesn’t have a link.
  • Select Inspect Element from the pop-up that will appear.
  • A new half page will appear below the YouTube page.
  • Click on Console and paste the below script inside it.
document.cookie="VISITOR_INFO1_LIVE=oKckVSqvaGw;

path=/;

domain=.youtube.com";window.location.reload

();
  • Close the Console page and you will notice that the ads will stop appearing.

Hope that was helpful.