[Greasemonkey] greasemonkey for personalized accessibility?
matthew at allpeers.com
Thu Apr 28 18:19:08 EDT 2005
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:
> 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
More information about the Greasemonkey