Jeff Binder

Adds Hot keys to Jeff Binder hits.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name       	  Jeff Binder
// @author         Rat Monkey
// @version        1.4
// @description  Adds Hot keys to Jeff Binder hits.
// @updateurl  
// @include        http://162.243.50.229*
// @namespace https://greasyfork.org/users/1973
// @grant       none
// ==/UserScript==

document.addEventListener( "keydown", kas, false);
buttons = document.getElementsByTagName('button');

// Use the number keys on your numpad, 0 - 6. Whereas 0 selects the option zero and proceeds to the next meaning. A single key press moves to the next page.

function kas(i) {
if ( i.keyCode == 96 ) { // Selects "0"
    document.getElementById("rg0").click();
document.getElementsByTagName('button')[0].click();
	} 
if ( i.keyCode == 97 ) { // Selects "1"
    document.getElementById("rg1").click();
	document.getElementsByTagName('button')[0].click();
	}   
if ( i.keyCode == 98 ) { // Selects "2"
    document.getElementById("rg2").click();
	document.getElementsByTagName('button')[0].click();
	}   
if ( i.keyCode == 99 ) { // Selects "3"
    document.getElementById("rg3").click();
	document.getElementsByTagName('button')[0].click();
	}   
if ( i.keyCode == 100 ) { // Selects "4"
    document.getElementById("rg4").click();
	document.getElementsByTagName('button')[0].click();
	}   
if ( i.keyCode == 101 ) { // Selects "5"
    document.getElementById("rg5").click();
	document.getElementsByTagName('button')[0].click();
	}   
if ( i.keyCode == 102 ) { // Selects "6"
    document.getElementById("rg6").click();
	document.getElementsByTagName('button')[0].click();
	}
	if ( i.keyCode == 110 ) { // Selects "Not Applicable"
    document.getElementById("rg7").click();
	document.getElementsByTagName('button')[0].click();
	}   
}