Mturk Hit Not Accepted

Unaccepted hits will have a light red background.

Pada tanggal 16 Juli 2014. Lihat %(latest_version_link).

// ==UserScript==
// @name       Mturk Hit Not Accepted
// @version    2.0
// @description Unaccepted hits will have a light red background.
// @author     Cristo
// @include    *
// @copyright  2012+, You
// @namespace https://greasyfork.org/users/1973
// ==/UserScript==

//Update to make unaccepted hits more obvious without alert

if(window.location != window.parent.location === true){
    if(window.location.toString().indexOf("ASSIGNMENT_ID_NOT_AVAILABLE") != -1){
        var bod = document.getElementsByTagName("body")[0].style.backgroundColor = "rgb(245, 198, 198)";
    }
} else if (window.location != window.parent.location === false) {
    if (document.getElementsByName("hitForm")[1].getAttribute("action") == "/mturk/accept") {
        if(document.getElementById("hit-wrapper")){
            document.getElementById("hit-wrapper").style.backgroundColor = "F5C6C6";
        }}}