Skip to content
A browser extension for hiding major commenting systems like Disqus, Livefyre, Facebook plugin, WordPress, YouTube, etc.
Branch: master
Clone or download

README.md

Hide Comments Everywhere

Fed up with the vitriol left in comments, many sites are dumping their comment systems completely. It's just too costly to monitor them, so they tend to devolve into a cess pool. Personally, I just want the content most of the time. YouTube anyone?

To help with my own sanity (and maybe yours?), I wrote an extension that hides many comment systems - identifying them is somewhat predictable. It's available for Chrome and Firefox. And if you're interested, I wrote about what I learned too.

What does this hide?

A lot, including but not limited to:

  • Facebook comment plugin
  • Disqus
  • Livefyre
  • WordPress
  • Reddit
  • YouTube
  • Facebook
  • Twitter
  • Any other comment system where someone happened to assign the ID or class "comments" or "respond". Hopefully this doesn't hide anything unexpected, like some site that assigned the "comments" ID to the main content of their posts... please let me know if it does.

How does it work?

It's triggered when the page is first loaded, or the URL changes (you click a link), or the comments are injected into the page (Disqus and YouTube delay loading comments), or when you open the popup (via the extension icon in the toolbar) and choose to toggle a page or whitelist (allow) a new URL.

The extension checks whether it should enable/disable comments, and then adds a display style of "none" or removes the display style (resetting it to whatever the rest of the CSS on the page originally set it to). It determines this by hiding anything defined in the list of included sites, then showing anything listed in your list of excluded sites.

The allowed (white-listed) sites are ones you define on the "options" page. Specify a list of URLs as regex patterns, one per line, that should display comments all the time (the extension is effectively disabled for those URLs). Your list of allowed sites uses synchronized storage, so it should be available on any machine you've installed the extension on.

You can quickly add the URL of the current page by opening the extension popup (by clicking the icon in the toolbar), and then selecting a URL (or entering a custom one) and pressing the "Allow" button. Note that, unlike the "options" page, these URLs are entered normally and not as regular expressions.

Click on the icon in the toolbar and press the large "toggle" button to temporarily toggle enabling/disabling the extension for a single tab, in order to hide or display comments. Click it again to toggle it back. Reloading the page will cause it to follow the same rules as above, looking first at blocked sites and then your personal allowed sites.

Permissions

You'll be notified that it can "read and change all your data on the websites you visit" because that's how it works - it hides certain comment-related elements on the page so you don't see them.

It also uses storage to save its state, but it shouldn't prompt you for that.

I need your help!

If you notice a commenting system that should be added (blocked), open an issue for that. Include the website where you noticed it, or create a pull request with the necessary changes to the "sites.json" file, and I'll follow-up as time permits.

Thanks!

Need help? Have a request?

Open a new issue with as many details as possible. The more you let me know upfront, the less I'll have to ask later!

You can’t perform that action at this time.