[Greasemonkey] GM_showPopup doesn't take into account frames
Aaron Boodman
zboogs at gmail.com
Sun Dec 4 14:31:39 EST 2005
Seems reasonable enough. will add to next release. thanks for the fix.
- a
On 12/1/05, Michael Kraft <mjk4984 at yahoo.com> wrote:
> I noticed the GM_showPopup function in browser.js is set up to filter out
> scripts which aren't applicable to the currently loaded page. The problem is
> that it doesn't take in to account frames so if the script doesn't include the
> parent's URL, but does include a frames's URL it won't be listed when it should
> be. Similarly if a frame is excluded, but the parent is not it will be
> displayed.
>
> I coded a fix to browser.js which will check the frames as well as the main
> url. I'm attaching the new browser.js file.
>
> _______________________________________________
> Greasemonkey mailing list
> Greasemonkey at mozdev.org
> http://mozdev.org/mailman/listinfo/greasemonkey
>
>
>
>
More information about the Greasemonkey
mailing list