Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
document.getElementById('response').onkeyup = function (e) { if (13 == e.keyCode) { document.getElementById('response').value = document.getElementById('response').value.replace(',', '.'); document.getElementById('checkanswer').click();} }
@codexp

This comment has been minimized.

Copy link
Owner Author

@codexp 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
You can’t perform that action at this time.