Forked from jakeonrails/Ruby Notepad Bookmarklet
Last active
February 16, 2023 19:49
-
-
Save wilk/7908404 to your computer and use it in GitHub Desktop.
Javascript in-browser editor with CTRL+SHIFT+Y shortcut to execute the content.
Just put it in your address bar and press enter. It works only on Chrome.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data:text/html, <style type="text/css">#e{position:absolute;top:0;right:0;bottom:0;left:0;}</style><div id="e"></div><script src="http://d1n0x3qji82z53.cloudfront.net/src-min-noconflict/ace.js" type="text/javascript" charset="utf-8"></script><script>var e=ace.edit("e");e.setTheme("ace/theme/monokai");e.getSession().setMode("ace/mode/javascript");addEventListener('keydown',function(evt){if(evt.ctrlKey && evt.shiftKey && evt.keyCode==89) eval(e.getSession().getValue());});</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
awesome!