[Greasemonkey] Installing a user script via a data: url

Jeremy Dunck jdunck at gmail.com
Fri Apr 8 20:23:07 EDT 2005

On Apr 8, 2005 6:37 PM, Julien Couvreur <julien.couvreur at gmail.com> wrote:
> I'm not sure what the size limit is on data: urls, but it seems like
> it can fit a lot.

   The "data:" URL scheme is only useful for short values. Note that
   some applications that use URLs may impose a length limit; for
   example, URLs embedded within <A> anchors in HTML have a length limit
   determined by the SGML declaration for HTML [RFC1866]. The LITLEN
   (1024) limits the number of characters which can appear in a single

   attribute value literal, the ATTSPLEN (2100) limits the sum of all
   lengths of all attribute value specifications which appear in a tag,
   and the TAGLEN (2100) limits the overall length of a tag.

More information about the Greasemonkey mailing list