Profanity Filter

By Mike E Last update Jun 9, 2006 — Installed 32,173 times.

Archived Comments (locked)

in
Subscribe to Archived Comments 12 posts, 10 voices



Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
JRN User

I use this script primarily for blocking YouTube Profanity. It apparently works inconsistently.

I think part of the problem is that the filter only engages after the rest of the page loads. With YouTube, the page is loading until the video has completely downloaded. Lots of time to read many comments and profanity.

I don't know if this is a Greasmonkey issue - whether the script can be made to activate before the page is finished loading, or just what.

Anyone else have this issue?

 
Henrik N Admin

...and "cobia" must surely be a Mountweazel :)

 
Henrik N Admin

Looking at the word list as inspiration since I've been asked to write a profanity filter.

Some of these blocked words are a weird choice. Are e.g. "vagina" and "smut" words that offend? Is it really a good idea to censor "balls"? :p Seems like it'd overgenerate wildly. And the censoring of "gaysex" seems more offensive than the word.

 
Greg Ackerson User

Hi guys. I modified the script to handle capitalized and all-caps badwords. So you won't get "YOU'RE A poopie MORON!!!!" anymore. Check it out at: http://supersilly.com/~greg/profanityfilter.use...

I removed a handful of badwords, however (like butt and beaver et al.), so if you use mine you may want to restore the badwords array from the 1.0 version.

 
samdd2 User

I really like this new toy. I have been using ProconLatte for word censoring and the accuracy hasn't been the greatest. Even when you tell it to filter the f-bomb it will filter the first word it sees in the sentence but not the second. This however seems to be living up to it's deal.

One question though: I can install the script automatically by clicking on the icon at the page or to install it through GreaseMonkey. Drag and dropping is NOT working in "manage user scripts settings". I'm becoming frustrated. Also, when I install the script using the install now click here at the site, I'm not allowed to click on edit in "Manage user scripts." This is when it's even installed.

Any help would be greatly appreciated!

 
scapedog User

i searched all day yesterday for a script that did this - i don't care if my kid is watching an NHL highlight video on you tube, but i don't want him exposed to the morons posting comments that can't stop from dropping F BOMBS.

Installed flawlessly - nice work!!!

 
Harrel Phillips User

Why can't I install the Profanity Filter? I keep getting error message: "document is undefined"

 
jambarama User

Sorry, beaten to it by Pieter (I don't know why I couldn't see his post before).

By the way, EXCELLENT script, really useful and well done.

 
jambarama User

I can tell you how to tweak it.
-Install it first.
-In FF go to Tools > Greasemonkey > Manage User Scripts
-Select "Profanity Filter"
-Click Edit
*If you've never done this before, you'll have to select a text editor. Notepad works, I really like Notepad++ http://notepad-plus.sourceforge.net/uk/site.htm
-There is a section that starts
"//sorted alpha backwords to catch bad word groupings
var badwords="...
Add whatever words you want to this section in single quotes with commas between ('word1','word2')

That is it! If you don't like the *** this script replaces bad words with, find this section: var ReplacementText = "***"; and replace the *** with whatever you want (like *expletive*).

 
Pieter De De... User

@Rudy:

Go to Greasemonkey Settings, click on Profanity Filter and finally click Customize. The source file should open.

Then search for:

---
var badwords=
---

There you'll find the list of blocked words. Put every word between 'these things' and seperate them with a comma.

Additionally, you can replace the line

---
var ReplacementText = "***";
---

with anything you like. For example, if you want bleeped words to be replaced with *bleep*, replace the line with this:

---
var ReplacementText = "*bleep*";
---

Don't forget to save the file, or your changes will be lost. Changes are effective immediately after reloading your opened web pages.

 
Rudy Alyanakian User

Hello. It works well so far, just as advertised! I am trying to tweak it to add a few words but am having trouble. How can I do that? Sorry, but I need a little help.

Thanks for an excellent script.