Add input box for running script

This commit is contained in:
Themba Dube 2019-06-05 15:53:32 -04:00
parent 17582abf09
commit dd647764b2

View File

@ -45,6 +45,8 @@
<canvas id="canvas" width="480" height="320" oncontextmenu="event.preventDefault()" tabindex="-1"></canvas> <canvas id="canvas" width="480" height="320" oncontextmenu="event.preventDefault()" tabindex="-1"></canvas>
<p>
<input id="script-url" placeholder="Script URL" value=""/><button onclick="processScriptArg(document.getElementById('script-url').value);">Run a script</button>
<p> <p>
<button onclick="mp_js_process_char(4);">Paste (Ctrl+D)</button> <button onclick="mp_js_process_char(4);">Paste (Ctrl+D)</button>
<p> <p>