2 ms·
XEM [0] and others golfed such thing to 142 bytes [1] some time ago. [0] https://news.ycombinator.com/submitted?id=xem https://news.ycombinator.com/submitted?i
by myfonj 8y ago
XEM [0] and others golfed such thing to 142 bytes [1] some time ago.
[0] https://news.ycombinator.com/submitted?id=xem https://news.ycombinator.com/submitted?id=xem
[1] http://xem.github.io/miniCodeEditor/ http://xem.github.io/miniCodeEditor/
- h43z 8y agoI did not know about the iframe's srcdoc attribute which all these creative hacks use in order to get javascript evaluated. Just yesterday I created http://localhorst.43z.one http://localhorst.43z.one to play with saving websites in the browsers localstorage and I used innerHTML and 'reinsertion' of script nodes to make js execute.