Last Updated: February 25, 2016
·
470
· squioc

Use data-uri for single page Html apps

Based on the Jose Jesus Perez Aguinaga tip 'One line browser notepad', data-uri can be used to define more complete html apps in one line and add as bookmarklet:

data:text/html;base64,<base64 encoded html>

To generate the base64 encoded html, you can use the following python script.