Skip to content

🌎 WebExtension version of Shut Up, supporting Chrome, Firefox, Edge, and Opera.

License

Notifications You must be signed in to change notification settings

RickyRomero/shut-up-webextension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shut Up

Crowdin

Shut Up is an open source project for blocking comment sections in all mainstream web browsers.

This is the WebExtension version of Shut Up which supports Chrome, Firefox, Edge, and Opera. Versions for Safari on macOS, iOS, and iPadOS are also available.

This extension leverages shutup.css by Steven Frank and contributors, which is used with permission.

If you have a Crowdin account, please consider contributing a localization! Your help could make the difference between someone being able to use this extension or not. Thank you.

Installation

If you're simply looking to install Shut Up, these are the links you're looking for:

Development

There are three ways to run the extension as a developer, depending on what you want to do:

Basic development in Chrome

If you only want to test in Chrome, navigate to chrome://extensions and turn on "Developer mode." Then load the src folder as an unpacked extension.

Chrome and Firefox development

If you're on a Mac and you want to develop in Chrome and Firefox simultaneously, do this:

cd shut-up-webextension
yarn
yarn dev

This script will place a folder on your Desktop called Shut Up Test Extensions. Inside those are separate chrome and firefox folders. It will watch the source folder, copying any changes to those chrome and firefox folders simultaneously.

  • To test in Chrome, follow the instructions in the previous section, but load the extension from the chrome folder instead.
  • To test in Firefox, navigate to about:debugging#/runtime/this-firefox. Click "Load Temporary Add-On…", navigate to to the firefox folder, and load manifest.json.

The script is necessary because we need separate manifest.json files for Chrome and Firefox, and there's no way to tell these browsers which manifest to load.

Developing for Firefox on Android

First, run these commands on your Mac:

cd shut-up-webextension
yarn
mv src/manifest.json src/manifest.json.bak
mv src/manifest.ffx.json src/manifest.json

Next, follow the guide here.

When you get to the step where you run web-ext, you will need to modify the command slightly.

yarn web-ext run -t firefox-android --adb-device DEVICE_ID --firefox-apk org.mozilla.firefox -s ./src

This command will run web-ext from node_modules, pointing it at the ./src directory. Replace DEVICE_ID with the ID of the Android phone or simulated device you want to try. If you want to run a different version of Firefox, use one of these IDs:

  • Firefox Stable: org.mozilla.firefox
  • Firefox Beta: org.mozilla.firefox_beta
  • Firefox Nightly: org.mozilla.fenix

Minimum Requirements

This version of Shut Up is known to work in the following browser releases:

  • Chrome 123 or later
  • Firefox 124 or later
  • Edge 120 or later
  • Brave 1.65.130 or later
  • Opera 109 or later

License

Shut Up, with the exception of shutup.css, is available under the terms of the MIT License.

About

🌎 WebExtension version of Shut Up, supporting Chrome, Firefox, Edge, and Opera.

Resources

License

Stars

Watchers

Forks

Packages

No packages published