3 ms·
You can get rid of the JS by setting the autofocus[1] attribute to the textarea. [1] https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attribu
by b2ccb2 1y ago
You can get rid of the JS by setting the autofocus[1] attribute to the textarea.
[1] https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/autofocus https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/...
- qingcharles 1y agoThank you, I'm going to try this.
- qingcharles 1y agoThanks, I trimmed it down to this: data:text/html,<title>Notepad</title><textarea autofocus spellcheck=0 style="position:fixed;inset:0;padding:1em;border:0;font:monospace">