3 ms·
I read somewhere that most browsers have a practical limit to what you can paste in. What I should have written was that it would fit in an address bar. shrug
by bytex64 15y ago
I read somewhere that most browsers have a practical limit to what you can paste in. What I should have written was that it would fit in an address bar. shrug
- DanBC 15y agoI agree, RFC2397 shows a bunch of things that can limit the length of a data URL. (http://www.ietf.org/rfc/rfc2397 http://www.ietf.org/rfc/rfc2397)
- mathias 15y agoThe "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. These are references to (theoretical) limitations in HTML/SGML. They are not limitations of the data URL scheme. Also note that bytex64’s page doesn’t use a link; it just shows the data URL so you can copy and paste it. Either way, none of the above limitations apply here. </nitpick>
- maximusprime 15y agoafaik it's usually about 4k but more in modern browsers.