Skip to content

Instantly share code, notes, and snippets.

@codexp
Last active September 21, 2015 21:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codexp/91bfc7998b04e22f69e7 to your computer and use it in GitHub Desktop.
Save codexp/91bfc7998b04e22f69e7 to your computer and use it in GitHub Desktop.
document.getElementById('response').onkeyup = function (e) { if (13 == e.keyCode) { document.getElementById('response').value = document.getElementById('response').value.replace(',', '.'); document.getElementById('checkanswer').click();} }
@codexp
Copy link
Author

codexp commented Sep 21, 2015

http://lizardpoint.com/math

online math practice

submit input with enter key

simply copy and paste into browser's console when course is already started (open with F12).
you have to reapply it every time the page reloads.

apply via click

if you need to do it frequently, you may also speed it up by creating a bookmark in your bookmark bar.

  1. copy the javascript code from above
  2. create a new bookmark in your bookmark bar
  3. enter javascript: into URL: input field of your bookmark (including colon) and
  4. paste the code straight behind the colon
  5. give it a name and save it

you may apply it by clicking on the bookmark when already in practice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment