It's Broke /without math

Force submit broken mturk 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       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();
        }

    }