[Greasemonkey] Choosing the right script

Edward Lee edilee at gmail.com
Tue Apr 19 18:43:38 EDT 2005


On 4/19/05, Eric Darchis <edarchis at gmail.com> wrote:
>  However, the problem persists because the user script is not run. It only
> gets run on the redirected page !

That's because Greasemonkey user scripts are inserted at the end of
the head, and the script tags run in sequential order. The first
script redirecting the page will evaluate before it even gets to the
user script, so it seems at least for now, there won't be much that
you can do to prevent the redirection.

-- 
Ed


More information about the Greasemonkey mailing list