Link to this:
data:text/html;base64,PCFET0NUWVBFIGh0bWw+DQo8aHRtbD4NCiAgPHN0eWxlPg0KICAgIGh0bWwsIGJvZHkgew0KICAgICAgbWFyZ2luOiAwOw0KICAgICAgcGFkZGluZzogMDsNCiAgICAgIGNvbG9yOiAjZWVlOw0KICAgICAgYmFja2dyb3VuZDogI2VlZTsNCiAgICAgIGNhcmV0LWNvbG9yOiAjMzMzOw0KICAgIH0NCiAgICBwIHsNCiAgICAgIG1hcmdpbjogMWVtIDEwJTsNCiAgICB9DQogIDwvc3R5bGU+DQogIDxib2R5IG9ubG9hZD1kb2N1bWVudC5nZXRFbGVtZW50QnlJZCgnYScpLmZvY3VzKCk+DQogICAgPHAgaWQ9YSBjb250ZW50ZWRpdGFibGUgYXV0b2NvbXBsZXRlPW9mZiBhdXRvY29ycmVjdD1vZmYgYXV0b2NhcGl0YWxpemU9b2ZmIHNwZWxsY2hlY2s9ZmFsc2U+DQogICAgPC9wPg0KICA8L2JvZHk+DQo8L2h0bWw+
Added a neat "hack" instead to set the href of a link dynamically.
'data:text/html;base64,' + btoa(document.documentElement.outerHTML)
Re:Writer Unblock
by pandatigox on Saturday April 11, 2020 @10:23AM
(#22841828)
Love the concept! However, is it possible to include a line or two in the actual app about what it does? I was very confused until I read this comment.
Added a popup [1]. It felt sinister. This is how simple, pure things get ruined.
[1] - https://github.com/scriptspry/writerunblock/commit/0ced484a2...
Re:Writer Unblock
by pandatigox on Saturday April 11, 2020 @11:43AM
(#22842236)
:'( I'm sorry to bring bad news
Can do away with the internet too, if a data url can be crafted with this html and bookmarked.
Happy unstucking!