It's Broke /without math

Force submit broken mturk hits.

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

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

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

// ==UserScript==
// @name       It's Broke /without math
// @version    3.0
// @description Force submit broken mturk hits.
// @author     Cristo
// @include       *
// @copyright  2012+, You
// @namespace https://greasyfork.org/users/2698
// ==/UserScript==


//Turn on the script, go to the broken hit and hit the ~ key. Solve the math problem and it will submit.
//Should work on most default surveys.
//It's hard to test without ruining my rejection rate so let me know if you find something it doesn't work on and I'll update it.


var form = document.getElementsByTagName("form")[0];

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

	function kas(i) {
		if (i.keyCode == 192) { // ~ Key
    		var form = document.getElementsByTagName("form")[0];
				document.getElementById(form.id).submit();
        }

    }