[Greasemonkey] Running before a pre-defined event handler
Johan Sundström
oyasumi at gmail.com
Fri Dec 23 01:42:28 EST 2005
On 12/22/05, Jeremy Dunck <jdunck at gmail.com> wrote:
> On 12/22/05, Arvid Jakobsson <arvid.jakobsson at gmail.com> wrote:
> > Like this? http://diveintogreasemonkey.org/patterns/override-method.html
>
> That'll have to be tweaked to use unsafeWindow since expandos
> disappear off wrappers.. unless its changed with 1.5 wrappers.
I try my best to stay away from everything that requires interaction with
unsafeWindow, as I have not fully grasped the threat vectors it exposes.
Especially for any code I publish for public use.
--
/ Johan Sundström, http://ecmanaut.blogspot.com/
More information about the Greasemonkey
mailing list