Run JavaScript on Key-Press

(JsOnKeyPress.rf.gd redirects to this page)

1. Paste your JavaScript you want to run (If you want more then one generated select another tab and paste your JavaScript for the 2nd keybind in the new box):

2. Select how many of the above boxes you used

 

3. Input the charater you want to activate the JS here:


 

Now just copy and paste this into your pages code:

<script>
window.onkeypress = function(event) {
   if (event.keyCode == ) {

   }
}
</script>


Main page

Run JS when one of the following are pressed:

Custom

All lower case letters

All upper case letters

All lower and upper case letters

All numbers

All lower case letters + numbers

All upper case letters + numbers

All lower and upper case letters + numbers