Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install

Uncensor The Internet Plus

Uncensors the bad words on the web

I added to Uncensor the Internet, at http://userscripts.org/scripts/show/8891

The script now uncensors a much wider variety of self-censored swear words, using different symbols. I added a few additional words as well.

Things like @$$, A--, B*+bs, sh&^, and T!TS will be revealed in their true forms.

To enable Pagerization support, you have to change line 20: var pagerization = false; to var pagerization = true;.

Version 0.6.6 fixes a few things like mistaken uncensoring of P.s. and adds more words to uncensor.
Version 0.6 adds support for the Pagerization script.






Jun 26, 2008
nathaniel_hi... Scriptwright

Great script, however I noticed that it doesn't take into account underscores. ( _ )
sh_t!

 
Jun 4, 2008
CaCtUs2003 Scriptwright

F*ck This F***ing Script! I f*cking hate this god d@mn sh*t!!!

Lol, I don't really hate it. Just testing the script, b*tch! :)

 
Dec 26, 2007
bobielawlintine Scriptwright

Bug: "motherboards" gets incorrectly changed to "motherfuckds" which itself is spelled wrong.

 
Aug 7, 2007
Descriptor Scriptwright

Maybe not as hard as you think, you just need to work on the uncensor() function, pass it the node instead of node.data.
I may come up with a way to do this myself using W3C methods that I've been reading here...
http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-...

 
Aug 7, 2007
FinalDoom Script's author

I don't deserve most of the credit. I just fixed all the regexp stuff and cleaned up the overall functions. The basic structure is mostly the original author's.
I changed the true false thing, but not the version, since it is so minor. At some point, I'll probably find more to add to it, but I'm busy right now.

I was going to add custom formatting for the uncensored words, like on my updated linkifier script, but the way the prior author had the script finding and replacing words makes it impossible, and I couldn't figure out how to rewrite it to do what I wanted easily.

 
Aug 7, 2007
Descriptor Scriptwright

0/1 is only shorthand for true/false, though I use 0/1 sometimes like in Perl, logic circuits are literally true/false, not numbers and 1 is definitely a number not literally equal to true.
(pagerization = 1) evaluates to true because it is defined, it could be defined as anything except 0, null undefined or false. The problems happen because 0 is actually a number, but in this script it doesn't matter, except that this script is so perfect otherwise.

Good job this script is impressive, I didn't even know text nodes had a "data" property, so I learned a few things.

 
Aug 6, 2007
FinalDoom Script's author

Woops. Yeah, I have it as 1 on my box so I must have just forgotten to set it back last time. I figured 0 and 1 make more sense ( that's all boolean true false is essentially ) but true false is probably more correct.

 
Jul 31, 2007
Descriptor Scriptwright

I noticed that
var pagerization = 1;
in the script, but you state that it is set to 0.

Also, it might be better to use true or false since you are checking for boolean and 1 is a number not exclusively true, or I should say the number 0 is not exclusively false.
Either way, whatever you prefer, I just think true/false makes more sense.

 
Jul 30, 2007
FinalDoom Script's author

It may be a little slower or a little faster than the original; I'm not sure. I know it does more, and I took out some unneeded parts, but couldn't rewrite the entire function structure. Javascript isn't a language I know really well.

You could comment on this script if you were logged in.