one_line_demo.html (481B)
1 <html> 2 3 <head> 4 <link rel="icon" type="image/x-icon" href="favicon.ico" /> 5 <script src="service_worker.js"> 6 /* 7 * Just load this script, et voila! It will install ServiceWorker to 8 * advertise image/jxl media type and decode responses. 9 * NB: if "addMessage" function is defined it will be used to report 10 * decoding times / problems. 11 */ 12 </script> 13 </head> 14 15 <body> 16 <img src="image00.jxl" style="width:100%" /> 17 <img src="image01.jxl" style="width:100%" /> 18 </body> 19 20 </html>