Crowdsource PDF

enter something useful

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

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

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

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.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Zateb bir user-style yöneticim var, yükleyeyim!)

// ==UserScript==
// @name       Crowdsource PDF
// @namespace  http://use.i.E.your.homepage/
// @version    0.1
// @description  enter something useful
// @include       *
// @copyright  2012+, You
// ==/UserScript==


var cI = 0;
var page = document.getElementById("target"); 
var table = page.getElementsByClassName("w");
var radio = table[cI].getElementsByTagName("input");
var sub = document.getElementById("submitButton"); 


page.tabIndex = 0;
page.focus();
table[cI].scrollIntoView(false);


function moveGrove(){


    cI++
    radio = table[cI].getElementsByTagName("input");
    table[cI].scrollIntoView(false);    
}


document.addEventListener( "keydown", kas, false);


function kas(i) {
if ( i.keyCode == 83 ) { // yes
    radio[0].checked=true;
    moveGrove();
}
if ( i.keyCode == 70 ) { // no
    radio[1].checked=true;
    moveGrove();
}
if ( i.keyCode == 69 ) { // submit
		sub.click();
}
}