[Greasemonkey] Re: [Full-disclosure] (PAPER) "Vision of danger: The Firefox Greasemonkey"

Jeremy Dunck jdunck at gmail.com
Sun Apr 3 11:00:33 EDT 2005

> On Apr 3, 2005 9:12 AM, Justin J. Novack <jnovack at gmail.com> wrote:
...there is an
> > exploit listed in the email about making a script uninstallable in the
> > interface.

Fix (I don't have CVS on this PC to make a patch file):
In manage.xul, change this:
listitem.setAttribute("label", script.name);
to this:
listitem.setAttribute("label", script.name.substring(0,80) +
(script.name.length > 80 ? '...' : ''));

More information about the Greasemonkey mailing list