Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install
Profanity Filter
Version 1.0: Filters profanity from websites. Edit the array profanity to control which words are removed from pages and replaced with ***. Ranked number one according to Google.
Details
Filters profanity from website. Significantly rewrote other replacement scripts to noticeably improve performance on large pages.
Added pseudo-threading to gradually replace words on larger pages to alleviate browser unresponsiveness when filtering larger pages.
To modify, simply edit the profanity array to control which words are removed from pages and replaced with ***.
Hey, looks like Google is ranking this as the topmost Profanity Filter as of January 2008. Thanks to all!
|
|
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? |
|
|
...and "cobia" must surely be a Mountweazel :) |
|
|
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. |
|
|
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. |
|
|
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! |
|
|
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!!! |
|
|
Why can't I install the Profanity Filter? I keep getting error message: "document is undefined" |
|
|
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. |
|
|
I can tell you how to tweak it.
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*). |
|
|
@Rudy: Go to Greasemonkey Settings, click on Profanity Filter and finally click Customize. The source file should open. Then search for: ---
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 ---
with anything you like. For example, if you want bleeped words to be replaced with *bleep*, replace the line with this: ---
Don't forget to save the file, or your changes will be lost. Changes are effective immediately after reloading your opened web pages. |
|
|
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. |
You could comment on this script if you were logged in.
