RelevanceQuest

Flag images Non Adult and hide instructions

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey 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 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         RelevanceQuest 
// @description Flag images Non Adult and hide instructions 
// @version       0.5
// @include       https://www.mturkcontent.com/dynamic/*
// @author        Cristo
// @copyright    2012+, You
// @namespace https://greasyfork.org/users/1973
// ==/UserScript==

var label = document.getElementsByTagName('label')[0];
var newDiv = document.createElement("div");

var but = document.createElement("span");
but.style.color = "#1170A0";
but.style.textDecoration = "underline";
but.style.cursor = "pointer";
but.innerHTML = "Instructions";

label.parentNode.insertBefore(but, label.nextSibling);
label.parentNode.insertBefore(newDiv, label.nextSibling);


var divs = document.getElementsByTagName('div');
var ps = document.getElementsByTagName('p');
var table = document.getElementsByTagName('table')[0];
newDiv.appendChild(divs[2]);
newDiv.appendChild(ps[0]);
newDiv.appendChild(ps[1]);
newDiv.appendChild(ps[2]);
newDiv.appendChild(divs[3]);
newDiv.appendChild(ps[3]);
newDiv.appendChild(table);
newDiv.appendChild(divs[4]);
newDiv.appendChild(divs[5]);
newDiv.style.display = "none";

but.addEventListener("mousedown",function() {
    if (newDiv.style.display == "none") {
    	newDiv.style.display = "block";
    } else if (newDiv.style.display == "block") {
    	newDiv.style.display = "none";
    }}, false);

var ins = document.getElementsByTagName('input');
for (var f = 0; f < ins.length; f++){
    if (ins[f].value === 'NOT_ADULT'){
        ins[f].click();
    }
}