[Greasemonkey] greasemonkey for personalized accessibility?

Matthew Gertner matthew at acepoint.cz
Fri Apr 29 15:42:44 EDT 2005


Hehe. Now *that's* what I call adding value. I ran it on my blog
homepage and it renamed my latest essay to "Greasemonkey: a lesbian
historical perspective." The mind boggles...

> -----Original Message-----
> From: greasemonkey-bounces at mozdev.org [mailto:greasemonkey-
> bounces at mozdev.org] On Behalf Of Nikolas 'Atrus' Coukouma
> Sent: Friday, April 29, 2005 11:31 AM
> To: greasemonkey at mozdev.org
> Subject: Re: [Greasemonkey] greasemonkey for personalized
accessibility?
> 
> 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.
> >>
> _______________________________________________
> Greasemonkey mailing list
> Greasemonkey at mozdev.org
> http://mozdev.org/mailman/listinfo/greasemonkey
> 
> 



More information about the Greasemonkey mailing list