• Stars
    star
    245
  • Rank 165,304 (Top 4 %)
  • Language
    CSS
  • Created almost 12 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

CSS stylesheet to hide comments on web pages

shutup.css

shutup.css is a CSS stylesheet (?) that can be applied to your web browser to hide comment sections on many popular websites. It is maintained by Steven Frank and Ricky Romero.

Why would I use it?

Some people feel that website comments are an annoyance or distraction from the main content. Some choose to use shutup.css to avoid being drawn into protracted arguments or avoid being exposed to statements that instill anger or sadness in them.

How do I install it on my computer?

The simplest way to use shutup.css on a conventional desktop or laptop computer is with a browser extension. There are official extensions available for all mainstream browsers:

These extensions by Ricky Romero automatically update themselves with the latest shutup.css stylesheet, and allow you to toggle comment blocking on and off with a toolbar button.

Shut Up for Safari on macOS requires macOS Sierra or later.

If you don't want a separate extension, you can instead use the Stylus plug-in, in combination with the raw shutup.css stylesheet (detailed below).

Installation on Opera

Shut Up works well on Opera, but you have to install it from the Chrome Web Store. Here's how:

  1. Go to the page for Shut Up on the Chrome Web Store.
  2. Click the "Install Extension" button that appears under the address bar.
  3. After the page reloads, click the "Add to Opera" button.
  4. Dismiss the compatibility notice, which takes you to Opera's settings page for Shut Up.
  5. Click the Install button.

Though Opera has an official add-ons website, Shut Up can't be listed there due to months-long approval cycles.

How do I install it on my iPhone or iPad?

You must have a 64-bit device running iOS/iPadOS 9 or later.

The following content blocker apps include shutup.css:

How do I install it on an Android device?

Shut Up was previously available for Firefox on Android. However, the most recent update (as of late August 2020) removed compatibility with almost all Firefox extensions. Please tell Mozilla what you think of these changes.

Do I have to use an extension or plug-in?

shutup.css can be used in any web browser that allows the loading of custom user stylesheets. Most popular browsers do for accessibility reasons; for example, to allow a visually impaired user to make text larger.

To use shutup.css as a custom user stylesheet:

  1. Download the auto-updating shutup-user-stylesheet.css file to your system.*
  2. In your browser's preferences, configure your browser to use shutup-user-stylesheet.css as a custom user stylesheet. In Safari for Mac, for example, it looks something like this:

Safari screenshot

After selecting "Other..." from the pop-up menu, select the shutup-user-stylesheet.css file you downloaded in step 1. This process will vary in other browsers, but the general idea is the same.

If you make changes to the stylesheet, or download a new version of shutup.css, you may need to quit and restart your browser to make sure it takes effect.

*If you don't trust a remotely-imported CSS file being applied to every web page you see, or if you want to make additional customizations, you can download the most recent non-updating version instead, but you will have to occasionally update this file manually.

How about a bookmarklet instead?

Another option is to install the shutup.css bookmarklet. The bookmarklet lives in your bookmarks toolbar, and applies the shutup.css stylesheet only when you click on it rather than automatically when pages load.

The bookmarklet can be installed by selecting the text below and dragging it into your browser's bookmark bar:

javascript:%21function%28%29%7Bvar%20e%3Ddocument.getElementsByTagName%28%22head%22%29%5B0%5D%2Ct%3Ddocument.createElement%28%22link%22%29%3Bt.type%3D%22text/css%22%2Ct.rel%3D%22stylesheet%22%2Ct.href%3Dlocation.protocol+%22//rickyromero.com/shutup/updates/shutup.css%22%2Ce.appendChild%28t%29%7D%28%29%3B

Original bookmark by Justin Ridgewell. HTTPS fix by Alexandre Vallières-Lagacé

Anything I should watch out for?

shutup.css works by looking for blocks of content on the page that are identified in the page's source code as "comments" or similar identifiers. The stylesheet instructs the web browser to simply not display these blocks.

This may affect some web applications in unexpected ways. I'm told it hides the "discussion" section of Bugzilla installations, for example. Remember to try disabling shutup.css if you think you might be missing important page content.

What about privacy?

Stylesheets like shutup.css contain no executable code, so they cannot track or spy on you.

The official browser extensions by Ricky Romero are designed to protect your privacy. None of these extensions track or spy on your browsing activity. They all have similar features, but differ in how they integrate with your browser. Most of these extensions have a built-in update mechanism for shutup.css. Read the plain-English privacy policy here for info specific to your browser.

Can I contribute to shutup.css?

Sure! You can send me a pull request on GitHub. If you speak CSS but not Git, just email me your proposed changes.

How do I contact you?

You can contact me at [email protected], or on Twitter as @stevenf.

More Repositories

1

cloud-to-butt

Chrome extension that replaces occurrences of 'the cloud' with 'my butt'
JavaScript
1,448
star
2

w2wiki

A web-based, wiki-like notepad that you host yourself
PHP
124
star
3

notes-import

Import a folder of plaintext files into Apple Notes
AppleScript
56
star
4

enex-dump

PHP script that accepts an Evernote export (ENEX) file and produces a folder of plain text documents.
PHP
42
star
5

my-first-safari-extension

Safari extension template/prototype for image extraction
Objective-C
30
star
6

dossier

Create a wiki-like interlinked site from a simply structured database
PHP
28
star
7

facebook-hosts-file-additions

Facebook-blocking hosts file additions.
13
star
8

webdesktop

Overlay a web page on your Mac desktop
Objective-C
12
star
9

NewTen

OS X package installer for Newton MessagePad
Objective-C
8
star
10

opml2html

PHP script that converts OPML to a vanilla HTML unordered list
PHP
5
star
11

newton-romcom

Inserts comments into the disassembly of a Newton ROM. Part of the Einstein project.
Ruby
5
star
12

unarmed

Plain C adaptation of Paul Guyot's ARM disassembler from the Einstein project
C
5
star
13

dng

A rogue-like dungeon game I started to write and didn't finish
JavaScript
4
star
14

hawthorne

Native macOS Gemini client
Swift
4
star
15

NewtRuntime

Objective-C++
4
star
16

newtonpkg

Newton package format utility
C
4
star
17

laguna-blog

A lightweight static blog generator in PHP
PHP
3
star
18

einsteindev.com

The einsteindev.com website
HTML
2
star
19

love-physics-test

Short example of physics simulation in LOVE 2D
Lua
1
star
20

ubuntu-20-questions

1
star
21

vagrant-instalamp

Quick n' dirty LAMP provisioning on a base Ubuntu Vagrant VM for Mac OS X
Shell
1
star
22

stevenf-xcode-theme

My personal Xcode theme
1
star