[Greasemonkey] Re: Greasemonkey Digest, Vol 11, Issue 50
Mattias Hällkvist
mattiasha at gmail.com
Thu Oct 27 23:08:42 EDT 2005
I'm responding to: "Re: Simple Url editing script broken in FF1.5b2 GM 0.6.3
"
I can't get the temp script to work. Does it work for you?
Basically I'd like a script that can make the popups that you get when
following the links in this rss
feed.<http://buzz.bazooka.se/asp/rss/rss.asp>Which can be done by
removing the string "External"from the links.
Thanks & Bye!
/Mattias
On 10/25/05, greasemonkey-request at mozdev.org <
greasemonkey-request at mozdev.org> wrote:
>
> Send Greasemonkey mailing list submissions to
> greasemonkey at mozdev.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://mozdev.org/mailman/listinfo/greasemonkey
> or, via email, send a message with subject or body 'help' to
> greasemonkey-request at mozdev.org
>
> You can reach the person managing the list at
> greasemonkey-owner at mozdev.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Greasemonkey digest..."
>
>
> Today's Topics:
>
> 1. Re: Simple Url editing script broken in FF1.5b2 GM 0.6.3
> (Jeremy Dunck)
> 2. Re: Simple Url editing script broken in FF1.5b2 GM 0.6.3
> (Bill Donnelly)
> 3. How to check whether a page has keyboard handler attached?
> (Anton Berezin)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 24 Oct 2005 11:13:35 -0500
> From: Jeremy Dunck <jdunck at gmail.com>
> Subject: Re: [Greasemonkey] Simple Url editing script broken in
> FF1.5b2 GM 0.6.3
> To: greasemonkey at mozdev.org
> Message-ID: <2545a92c0510240913u7e970cb1r68efd2f67b5c9 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On 10/24/05, Mattias Hällkvist <mattiasha at gmail.com> wrote:
> > window.location.href = window.location.href.replace(/External/, '');
>
> Yeah, that's a known bug in FF b2, and it's fixed. The next release
> of FF should make it work ok.
> https://bugzilla.mozilla.org/show_bug.cgi?id=307983
>
> ------------------------------
>
> Message: 2
> Date: Mon, 24 Oct 2005 11:11:37 -0700
> From: Bill Donnelly <donnelly at snowcrest.net>
> Subject: Re: [Greasemonkey] Simple Url editing script broken in
> FF1.5b2 GM 0.6.3
> To: greasemonkey at mozdev.org
> Message-ID: <435D23D9.8030001 at snowcrest.net>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Buried down in the bug is a work around that might work
> depending on how long it takes to correct and get a new
> working version/build of Firefox out.
>
> People really need to start doing better error checking anyway,
> and use try/catch around ALL of their code, just in case.
>
> So maybe do this temporarily: (as an example)
>
> try {
>
> window.location.href = window.location.href.replace (/External/, '');
>
> } catch (eErr) {
>
> window.setTimeout (function() {
> window.location.href = window.location.href.replace (/External/, '')
> });
>
> }
>
> And then make the catch an actual error trap notification later.
>
> --
> I often enjoy Casting my Pearls Before Swine,
> if only to trip them up, piss them off, and/or
> totally freak them out.
> -----------------------
> I didn't ask to be Overlord of Balloon Doggies --
> the Balloon Doggies demanded it!
>
>
> ------------------------------
>
> Message: 3
> Date: Tue, 25 Oct 2005 12:43:16 +0200
> From: Anton Berezin <tobez at tobez.org>
> Subject: [Greasemonkey] How to check whether a page has keyboard
> handler attached?
> To: greasemonkey at mozdev.org
> Message-ID: <20051025104316.GB46590 at heechee.tobez.org>
> Content-Type: text/plain; charset=us-ascii
>
> Subj.
>
> I tried
>
> if (body.onkeydown) ...
> if (body.onkeypress) ...
> if (typeof body.onkeypress != undefined) ...
>
> and variants, but that did not seem to work.
>
> \Anton.
> --
> An undefined problem has an infinite number of solutions.
> -- Robert A. Humphrey
>
> ------------------------------
>
> _______________________________________________
> Greasemonkey mailing list
> Greasemonkey at mozdev.org
> http://mozdev.org/mailman/listinfo/greasemonkey
>
>
> End of Greasemonkey Digest, Vol 11, Issue 50
> ********************************************
>
More information about the Greasemonkey
mailing list