All Projects → grantwinney → hide-comments-everywhere

grantwinney / hide-comments-everywhere

Licence: MIT license
A browser extension for hiding major commenting systems like Disqus, Livefyre, Facebook plugin, WordPress, YouTube, etc.

Programming Languages

CSS
56736 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to hide-comments-everywhere

Disqus React
A React component for Disqus
Stars: ✭ 276 (+922.22%)
Mutual labels:  disqus, comments
reddit-fetch
A program to fetch some comments/pictures from reddit
Stars: ✭ 50 (+85.19%)
Mutual labels:  reddit, comments
Mouthful
Mouthful is a self-hosted alternative to Disqus
Stars: ✭ 681 (+2422.22%)
Mutual labels:  disqus, comments
Urs
Universal Reddit Scraper - A comprehensive Reddit scraping command-line tool written in Python.
Stars: ✭ 275 (+918.52%)
Mutual labels:  reddit, comments
Laravel Disqus
A simple Disqus platform integration with Laravel.
Stars: ✭ 71 (+162.96%)
Mutual labels:  disqus, comments
Talkyard
A community discussion platform: Brings together the main features from StackOverflow, Slack, Discourse, Reddit, and Disqus blog comments.
Stars: ✭ 1,219 (+4414.81%)
Mutual labels:  reddit, disqus
lemmur
🐒 A mobile client for lemmy
Stars: ✭ 228 (+744.44%)
Mutual labels:  reddit
Pixel
A real-time collaborative canvas, inspired by Reddit Place
Stars: ✭ 26 (-3.7%)
Mutual labels:  reddit
Upvote-Anywhere
Upvote Anywhere Browser Extension
Stars: ✭ 339 (+1155.56%)
Mutual labels:  reddit
waline
💬 A Simple, Safe Comment System
Stars: ✭ 1,145 (+4140.74%)
Mutual labels:  disqus
grav-plugin-comments
Grav Comments Plugin
Stars: ✭ 52 (+92.59%)
Mutual labels:  comments
Slide-iOS
A powerful new way to Reddit on iOS.
Stars: ✭ 461 (+1607.41%)
Mutual labels:  reddit
grav-plugin-facebook
Facebook plugin for Grav CMS https://github.com/getgrav/grav
Stars: ✭ 16 (-40.74%)
Mutual labels:  facebook-plugin
music-from-reddit
Flutter app to listen music curated from subreddits
Stars: ✭ 24 (-11.11%)
Mutual labels:  reddit
Reddit-Embed
Embed any reddit post onto your website!
Stars: ✭ 15 (-44.44%)
Mutual labels:  reddit
redditnav
RedditNav is a beautiful way of moving between threads, accelerating the way you browse reddit comments.
Stars: ✭ 49 (+81.48%)
Mutual labels:  reddit
twitch-youtube-restream-chat-overlay
Access the YouTube Live chat and route it to your OBS or VMix Browser source.
Stars: ✭ 52 (+92.59%)
Mutual labels:  comments
aPRAW
Asynchronous Python Reddit API Wrapper
Stars: ✭ 49 (+81.48%)
Mutual labels:  reddit
loseyourself
Lose yourself, programmer edition. Based on a tweet by @kvlly!
Stars: ✭ 34 (+25.93%)
Mutual labels:  reddit
serializer
A linearizing social tech news reader
Stars: ✭ 89 (+229.63%)
Mutual labels:  reddit

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, or you can read more about it here too.

What does this hide?

A lot, including but not limited to:

  • YouTube
  • Twitter
  • Reddit
  • Disqus
  • Livefyre
  • WordPress
  • 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?

This extension checks whether comments should be disabled for the current URL, and is triggered when the page is first loaded or the URL changes (i.e. you click a link).

  1. First, it checks the sites.json file for known DOM elements that contain comments on the current URL.
  2. Then it sees if you've chosen to exclude the current URL (the whitelist on the Options page under Filters).
  3. It injects a CSS stylesheet into the page that sets display style to "none" for comments (and anything related, like comment counters).

The allowed (whitelisted) 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 and are logged into.

  • You can quickly add the URL of the current page by opening the extension popup (click 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.
  • Note: There's also a hard-coded whitelist, although I don't anticipate adding very many sites to it. One I added is GitHub, for which it's unlikely anyone would want to hide comments. There are issues with their DOM that cause legit sections of the site to be hidden.

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!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].