Using AdBlock Plus to block YouTube comments

YouTube comments are some of the most offensive on the web. Even serious videos attract trolls bent on inscribing their offensiveness and cruelness on the web.

Here’s one method of dealing with YouTube comments. Treat the comments block as an advertisement and block it.[1]

1. Download AdBlock Plus

Download the AdBlock Plus extension for the browser you use and install it.

2. Create a custom ad filter

In this step you will create a filter that treats the entire comments section of a YouTube page as an advertisement.

  • Navigate to YouTube and load any video page.
  • Click on the AdBlock icon in the toolbar to bring up its contextual menu
AdBlock Plus contextual menu
  • Choose “Block an ad on this page”
  • Navigate to an area of the page just above the “COMMENTS” header where the ads are located. Once the entire ads area of the page is highlighted, click there.
Block YouTube comments
  • AdBlock will ask you to confirm the block. If it looks right to you, agree.[2]

If all goes well, you’ll have comment-free YouTube pages now.


  1. There are other ways of avoiding YouTube comments. I've used ViewPure but it's hard to find content that way even though they seem to be working on making it more seamless to get from YouTube to ViewPure.

  2. The div to be blocked is <DIV id="watch-discussion" class="branded-page-box yt-card scrolldetect" >. Don't be surprised if that changes and you need to update your filter as YouTube changes their page structure.