Giter VIP home page Giter VIP logo

shutup-css's Introduction

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. Currently there are extensions for Safari and Chrome on any operating system:

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

Although there is no official Shut Up extension for Firefox at this time, Firefox users have reported success using the Stylish plug-in, in combination with the raw shutup.css stylesheet (detailed below).

How do I install it on my iPhone or iPad?

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

The following content blocker apps include shutup.css:

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 OS X, 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.

If you are using one of the browser extensions, it will periodically contact Ricky's web server solely to check for an update and download it if one is available. When this happens, the date and time, your IP address, and "User-Agent" string (which identifies your web browser) are logged by the web server. These logs are kept temporarily for diagnostic purposes only.

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.

shutup-css's People

Contributors

panicsteve avatar rickyromero avatar tabacco avatar mikecheb avatar damenleeturks avatar jmacdotorg avatar lhagan avatar mfau avatar pfcolor avatar abelhooge avatar aekrylov avatar niamu avatar dlgood avatar milsyobtaf avatar reefab avatar gilmoreorless avatar gozoinks avatar jdschroeder avatar matrixagent avatar kinzdesign avatar kolg avatar tlxo avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.