Re: OT: data url scheme
From: "Rick Marshall" <rjm@z...> > you learn something every day - this is cool > > so i click on the url below and read the rfc. then write the following > simple html page (not 100% pure, but good enough to test) > > <html> > <body> > <IMG > SRC="data:image/gif;base64,R0lGODdhMAAwAPAAAAAAAP///ywAAAAAMAAw > AAAC8IyPqcvt3wCcDkiLc7C0qwyGHhSWpjQu5yqmCYsapyuvUUlvONmOZtfzgFz > ByTB10QgxOR0TqBQejhRNzOfkVJ+5YiUqrXF5Y5lKh/DeuNcP5yLWGsEbtLiOSp > a/TPg7JpJHxyendzWTBfX0cxOnKPjgBzi4diinWGdkF8kjdfnycQZXZeYGejmJl > ZeGl9i2icVqaNVailT6F5iJ90m6mvuTS4OK05M0vDk0Q4XUtwvKOzrcd3iq9uis > F81M1OIcR7lEewwcLp7tuNNkM3uNna3F2JQFo97Vriy/Xl4/f1cf5VWzXyym7PH > hhx4dbgYKAAA7" > ALT="Larry"> > <a href="data:,A%20brief%20note">note</a> > > </body> > </html> Oh no! No good can come of this. I predict the end of the web-as-we-know-it. Or at the very least, text-only email. Who will be able to resist these seductive images? ;-} > and it works like a charm in mozilla 1.4, and galeon something; but not > the text based lynx :( There is no permanent safety in a retreat to lynx. See http://www-personal.engin.umich.edu/~saha/graphics_lib/halloween. Bob Foster > rick > > On Thu, 2003-07-24 at 23:53, Jim Ancona wrote: > > bryan wrote: > > > Okay it seems that Mozilla implements the data url scheme, > > > ftp://ftp.isi.edu/in-notes/rfc2397.txt I'm somewhat unclear on this > > > though, it seems to me that the implementation is wrong from reading the > > > text of the rfc, if I have the data url data:,A%20brief%20note as shown > > > in the rfc I suppose that when a link with that url is clicked on that a > > > new virtual document should be created and the value of the data > > > fragment is written to this document.body > > > > > > Instead Mozilla opens up a dialoque box asking me if I want to open this > > > file using another file. Tried to choose to open it with notepad but it > > > didn't seem to work. > > > > When I clicked on the URL in your message above, Mozilla 1.4 (Win32) > > opened up a page with the text "A brief note" displayed. Perhaps you ran > > into a bug that's been fixed? > > > > Jim
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format