News for hackers. Stuff that matters.
Re:Writer Unblock by elnik on Saturday April 11, 2020 @08:46AM (#22841381)
Sometimes, you just need to put down your thoughts with out the fear of someone looking at what you are writing, or with out your editor bugging you about all the typos you are making or with your eyes closed and give control to your fingers to put down what thoughts run in your head.

Can do away with the internet too, if a data url can be crafted with this html and bookmarked.

Happy unstucking!

Re:Writer Unblock by LeonB on Saturday April 11, 2020 @10:33AM (#22841862)
Link to this:

data:text/html;base64,PCFET0NUWVBFIGh0bWw+DQo8aHRtbD4NCiAgPHN0eWxlPg0KICAgIGh0bWwsIGJvZHkgew0KICAgICAgbWFyZ2luOiAwOw0KICAgICAgcGFkZGluZzogMDsNCiAgICAgIGNvbG9yOiAjZWVlOw0KICAgICAgYmFja2dyb3VuZDogI2VlZTsNCiAgICAgIGNhcmV0LWNvbG9yOiAjMzMzOw0KICAgIH0NCiAgICBwIHsNCiAgICAgIG1hcmdpbjogMWVtIDEwJTsNCiAgICB9DQogIDwvc3R5bGU+DQogIDxib2R5IG9ubG9hZD1kb2N1bWVudC5nZXRFbGVtZW50QnlJZCgnYScpLmZvY3VzKCk+DQogICAgPHAgaWQ9YSBjb250ZW50ZWRpdGFibGUgYXV0b2NvbXBsZXRlPW9mZiBhdXRvY29ycmVjdD1vZmYgYXV0b2NhcGl0YWxpemU9b2ZmIHNwZWxsY2hlY2s9ZmFsc2U+DQogICAgPC9wPg0KICA8L2JvZHk+DQo8L2h0bWw+

Re:Writer Unblock by elnik on Saturday April 11, 2020 @11:45AM (#22842245)
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.
Re:Writer Unblock by elnik on Saturday April 11, 2020 @11:29AM (#22842164)
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