It's Broke /without math

Force submit broken mturk hits.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

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

(I already have a user script manager, let me install it!)

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.

(I already have a user style manager, let me install it!)

// ==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();
        }

    }