urlpages/index.html
Jacob Strieb 60a3aa13d4 Add external link support
Button bar added to bottom right with styling for buttons. Index added that
writes decoded HTML to the DOM to render a page from a link. Button added to
base64 encode a page and create and open a link to view it in a new tab
2019-06-30 01:00:06 -07:00

10 lines
320 B
HTML

<noscript>JavaScript is required to convert the URL into a usable web page.</noscript>
<script type="text/javascript">
if (window.location.hash) {
var hash = window.location.hash.slice(1);
var data = atob(hash);
document.write(decodeURIComponent(data));
} else {
window.location.replace("./editor");
}
</script>