Skip to content

dsgriffin/no-comment

Repository files navigation

NoComment 🙊

NoComment is a simple Chrome extension for hiding user-generated comments on the web.

Features

On a fresh installation, NoComment does not block any comments; if you'd like to block comments on specific websites/routes only, you can add those websites/routes to your "Blocklist".

If you prefer to block comments on all sites by default, you can do that, and add websites/routes to your "Allowlist" instead.

You can even use the wildcard selector "*" to block or allow comments on specific "routes" of a website.

Examples:

www.youtube.com/* (block or allow comments on all Youtube videos)

x.com/*/status/* (block or all comments on all X statuses)

www.reddit.com/r/news/* (block or all comments on all Reddit posts within the r/news subreddit)

You're also able to change the way the comments are hidden; by default they are "collapsed" and remove the space taken originally like they never existed, but this can be changed to "hidden" if you'd like to keep the empty space the comments originally took.

Chrome Web Store

http://chrome.google.com/webstore/detail/nocomment/bcaffknecaohmingfdfimlbllnebpepe

Please feel free to rate & leave constructive feedback!

Build/Test

Build

  • Clone repo and run npm install
  • Build and compile the app/ folder into a dist/ folder via npm run build
  • Watch for TypeScript updates with npm run watch

Test

  • Go to the Chrome extensions page (either via chrome://extensions/ or the Chrome Settings Tab > More Tools > Extensions)
  • Make sure the Developer Mode checkbox is ticked
  • Load the dist/ folder as an unpacked extension

Contributing

If you've found a bug or have an idea, feel free to open an Issue. If you've got a fix or feature ready, open a PR. Thanks!

License

MIT