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.
|
|
Great script, however I noticed that it doesn't take into account underscores. ( _ )
|
|
|
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! :) |
|
|
Bug: "motherboards" gets incorrectly changed to "motherfuckds" which itself is spelled wrong. |
|
|
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 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 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. |
|
|
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.
Good job this script is impressive, I didn't even know text nodes had a "data" property, so I learned a few things. |
|
|
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. |
|
|
I noticed that
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.
|
|
|
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.
