Dreamwidth Blocker Userscript


Description

The Dreamwidth Blocker is an experimental userscript that makes it possible for users to hide comments and threads on FFA based on keywords, like Tumblr Savior and xkit's Blacklist extension. This is designed to make it easier for users to avoid spoilers and ignore comments and threads that they find boring, annoying, inflammatory, or upsetting. Although the script is currently limited to work on FFA, it can also be set up to work with other Dreamwidth communities. As of version 0.2, the script is designed to work with flat view, top-level view, and threaded view.

Once the userscript is installed, a small "Blocker" button will be displayed in the upper-right corner of affected pages. This button opens the settings panel for the blocker, where the user can add blacklisted and whitelisted words and phrases, and change various settings that affect which comments are hidden. Once the user is satisfied with the settings, they can refresh the page, and the userscript will replace filtered comments with a message indicating the reason for the block.

Click here to install the latest version of the userscript.


Installation Instructions

Firefox and Greasemonkey

  1. Open Firefox.
  2. Go to the addon page for Greasemonkey.
  3. Click the button that says "Add to Firefox."
  4. Wait until the install window comes up, then click "Install Now."
  5. Go to the latest version of the userscript.
  6. When the Greasemonkey Installation window pops up, wait until the "Install" button becomes available, then click it.

Chrome and Tampermonkey

  1. Open Chrome.
  2. Go to the Tampermonkey website and click the "Tampermonkey Stable" button.
  3. Wait until the popup appears, then click "Add."
  4. Go to the latest version of the userscript.
  5. On the webpage that opens, click the "Install" button.

Enabling for Additional Communities

The Dreamwidth Blocker was originally created for use with FFA, and as a result, the script only works on FFA by default. However, it can be extended to work with a number of other Dreamwidth communities and journals, with a few caveats.

Greasemonkey Instructions

  1. Click the triangle next to the Greasemonkey icon in your toolbar to open the Greasemonkey menu, then select "Manage User Scripts ..."
  2. Click on the "Preferences" button for the Dreamwidth Blocker script.
  3. Click the "Add ..." button next to the "Included Pages" section.
  4. Enter the URL of the DW community you wish to include, followed by a *. For example, http://fail-fandomanon.dreamwidth.org/*. If you wish to enable it for all DW websites, enter http://*.dreamwidth.org/* instead.
  5. Press "OK."

Tampermonkey Instructions

  1. Click on the Tampermonkey icon on your toolbar. (It's the one that looks like a black square with two circles cut out of the bottom.)
  2. When the menu opens, click the "Dashboard" option.
  3. Click on the "Dreamwidth Blocker" user script.
  4. Click on the "Settings" tab that's next to the "Editor" tab (not the one at the top of the page).
  5. Click the "Add ..." button underneath the "User includes" section.
  6. Enter the URL of the DW community you wish to include, followed by a *. For example, http://fail-fandomanon.dreamwidth.org/*. If you wish to enable it for all DW websites, enter http://*.dreamwidth.org/* instead.
  7. Press "OK."

Known Bugs


Older Versions

Version 0.1 (June 8, 2014)

Version 0.2 (January 2, 2015)

Version 0.2b (February 27, 2015)