[Greasemonkey] greasemonkey for personalized accessibility?

Nikolas 'Atrus' Coukouma lists at atrus.org
Fri Apr 29 06:39:14 EDT 2005


I went ahead and wrote a script that does just that [1]. There's a
screenshot [2], for the heck of it.

[1] http://hacks.atrus.org/greasemonkey/dirty-talk.user.js
[2] http://hacks.atrus.org/greasemonkey/dirty-talk.png

Matthew Gertner wrote:

>How about a script that spices up my web experience by liberally strewing
>obscenities across otherwise tame sites?
>
>  
>
>>-----Original Message-----
>>From: greasemonkey-bounces at mozdev.org [mailto:greasemonkey-
>>bounces at mozdev.org] On Behalf Of Jeremy Dunck
>>Sent: Thursday, April 28, 2005 2:30 PM
>>To: greasemonkey at mozdev.org
>>Subject: Re: [Greasemonkey] greasemonkey for personalized accessibility?
>>
>>On 4/28/05, Mark Pilgrim <pilgrim at gmail.com> wrote:
>>    
>>
>>>LINK NOT SAFE FOR WORK
>>>http://www.arantius.com/misc/greasemonkey/clean-language.user.js
>>>      
>>>
>>I knew about that script, but hadn't viewed the source.  It's a riot.
>>
>>badwords is an array of all bad words.
>>
>>The magic is:
>>element.textContent.replace(bw, '***'), where bw is an regex
>>alternation of all the words in the array:
>>bw="\\b("+badwords.join("|")+")\\b"
>>
>>I don't think that could possibly scale out to all the bad words.  I
>>bet the regex implementors never figured on such an abusive use case.
>>
>>.. Made me laugh, anyway.
>>


More information about the Greasemonkey mailing list