D
Deleted member 526
Guest
k give me 5 min to drink some coffee 5 min to write itwould be easy with a script
k give me 5 min to drink some coffee 5 min to write itwould be easy with a script
// ==UserScript==
// @name Dustin Schwenk - Describe the setting of a short animation clip
// @namespace http://your.homepage/
// @version 0.1
// @description enter something useful
// @author turker
// @grant none
// @require http://code.jquery.com/jquery-latest.min.js
// @include *
// @exclude http://www.mturkcrowd.com/*
// ==/UserScript==
if ( $("body:contains('is this scene')").length ) {
document.getElementById("setting").focus();
var choice = [];
choice[1] = "kitchen";
choice[2] = "bedroom";
choice[3] = "living room";
choice[4] = "park";
choice[5] = "dining room";
choice[6] = "playground";
choice[7] = "classroom";
choice[8] = "quarry";
choice[9] = "road";
choice[0] = "doorway";
document.getElementsByTagName("body")[0].onkeydown = function(event) {
event.preventDefault();
for (i=0;i<choice.length;i++) {
if (event.keyCode == 48+i) {
document.getElementById("setting").value = choice[i];
//document.getElementById("results-form").click();
}
}
if (event.keyCode == 189) {
document.getElementById("setting").value = "car";
//document.getElementById("results-form").click();
}
};
}
Someone photoshop swords in each hand, he would make an excellent human smoothie maker.Pastor Peachy has entered the thread
Title: Click Test - 36 images | PANDA Worker: Preview | Accept | Requester Requester: Kevin Newton [A2AF15RQXH9N2L] (Contact) TO 1: [Pay: 5.00] [Fast: 3.00] [Comm: 0.00] [Fair: 5.00] [Reviews: 2] [ToS: 0] TO 2: Not Available Reward: $3.00 Duration: 30 minutes Available: 1 Description: Not Available Requirements: Current Residence - Owned is 1; Masters has been granted; Location is US |
HIT exported from Mturk Suite v1.25.7 |
omg, what's with all the religious references lately?Pastor Peachy has entered the thread
// ==UserScript==
// @name Dustin Schwenk - Describe the setting of a short animation clip
// @namespace http://your.homepage/
// @version 0.1
// @description enter something useful
// @author turker
// @grant none
// @require http://code.jquery.com/jquery-latest.min.js
// @include *
// @exclude http://www.mturkcrowd.com/*
// ==/UserScript==
if ( $("body:contains('is this scene')").length ) {
document.getElementById("setting").focus();
document.getElementsByTagName("header")[1].getElementsByTagName("i")[0].innerHTML = "<a class='a'>kitchen</a><a class='a'> bedroom</a><a class='a'> living room</a><a class='a'> park</a><a class='a'> dining room</a><a class='a'> playground</a><a class='a'> classroom</a><a class='a'> quarry</a><a class='a'> road</a><a class='a'> doorway</a><a class='a'> car</a>";
var addThis0 = function() {
document.getElementById("setting").value = "kitchen";
};
var addThis1 = function() {
document.getElementById("setting").value = "bedroom";
};
var addThis2 = function() {
document.getElementById("setting").value = "living room";
};
var addThis3 = function() {
document.getElementById("setting").value = "park";
};
var addThis4 = function() {
document.getElementById("setting").value = "dining room";
};
var addThis5 = function() {
document.getElementById("setting").value = "playground";
};
var addThis6 = function() {
document.getElementById("setting").value = "classroom";
};
var addThis7 = function() {
document.getElementById("setting").value = "quarry";
};
var addThis8 = function() {
document.getElementById("setting").value = "road";
};
var addThis9 = function() {
document.getElementById("setting").value = "doorway";
};
var addThis10 = function() {
document.getElementById("setting").value = "car";
};
var overall = document.getElementsByClassName("a");
overall[0].onclick = addThis0;
overall[1].onclick = addThis1;
overall[2].onclick = addThis2;
overall[3].onclick = addThis3;
overall[4].onclick = addThis4;
overall[5].onclick = addThis5;
overall[6].onclick = addThis6;
overall[7].onclick = addThis7;
overall[8].onclick = addThis8;
overall[9].onclick = addThis9;
overall[10].onclick = addThis10;
overall[11].onclick = addThis11;
var choice = [];
choice[1] = "kitchen";
choice[2] = "bedroom";
choice[3] = "living room";
choice[4] = "park";
choice[5] = "dining room";
choice[6] = "playground";
choice[7] = "classroom";
choice[8] = "quarry";
choice[9] = "road";
choice[0] = "doorway";
document.getElementsByTagName("body")[0].onkeydown = function(event) {
for (i=0;i<choice.length;i++) {
if (event.keyCode == 48+i) {
event.preventDefault();
document.getElementById("setting").value = choice[i];
}
}
if (event.keyCode == 189) {
event.preventDefault();
document.getElementById("setting").value = "car";
}
if (document.getElementById("setting").value.length > 0) {
//document.getElementById("submit-btn").click();
}
};
}
That's cool. Might be the periods. I'm always lurking though. This one works well so I don't have to remember which number to press. Will make it quicker too. Thanks.this 1 should work with keys still. but the words can be clicked instead with the mouse. @klyde I can't tag you for some reason.Code:// ==UserScript== // @name Dustin Schwenk - Describe the setting of a short animation clip // @namespace http://your.homepage/ // @version 0.1 // @description enter something useful // @author turker // @grant none // @require http://code.jquery.com/jquery-latest.min.js // @include * // @exclude http://www.mturkcrowd.com/* // ==/UserScript== if ( $("body:contains('is this scene')").length ) { document.getElementById("setting").focus(); document.getElementsByTagName("header")[1].getElementsByTagName("i")[0].innerHTML = "<a class='a'>kitchen</a><a class='a'> bedroom</a><a class='a'> living room</a><a class='a'> park</a><a class='a'> dining room</a><a class='a'> playground</a><a class='a'> classroom</a><a class='a'> quarry</a><a class='a'> road</a><a class='a'> doorway</a><a class='a'> car</a>"; var addThis0 = function() { document.getElementById("setting").value = "kitchen"; }; var addThis1 = function() { document.getElementById("setting").value = "bedroom"; }; var addThis2 = function() { document.getElementById("setting").value = "living room"; }; var addThis3 = function() { document.getElementById("setting").value = "park"; }; var addThis4 = function() { document.getElementById("setting").value = "dining room"; }; var addThis5 = function() { document.getElementById("setting").value = "playground"; }; var addThis6 = function() { document.getElementById("setting").value = "classroom"; }; var addThis7 = function() { document.getElementById("setting").value = "quarry"; }; var addThis8 = function() { document.getElementById("setting").value = "road"; }; var addThis9 = function() { document.getElementById("setting").value = "doorway"; }; var addThis10 = function() { document.getElementById("setting").value = "car"; }; var overall = document.getElementsByClassName("a"); overall[0].onclick = addThis0; overall[1].onclick = addThis1; overall[2].onclick = addThis2; overall[3].onclick = addThis3; overall[4].onclick = addThis4; overall[5].onclick = addThis5; overall[6].onclick = addThis6; overall[7].onclick = addThis7; overall[8].onclick = addThis8; overall[9].onclick = addThis9; overall[10].onclick = addThis10; overall[11].onclick = addThis11; var choice = []; choice[1] = "kitchen"; choice[2] = "bedroom"; choice[3] = "living room"; choice[4] = "park"; choice[5] = "dining room"; choice[6] = "playground"; choice[7] = "classroom"; choice[8] = "quarry"; choice[9] = "road"; choice[0] = "doorway"; document.getElementsByTagName("body")[0].onkeydown = function(event) { for (i=0;i<choice.length;i++) { if (event.keyCode == 48+i) { event.preventDefault(); document.getElementById("setting").value = choice[i]; } } if (event.keyCode == 189) { event.preventDefault(); document.getElementById("setting").value = "car"; } if (document.getElementById("setting").value.length > 0) { //document.getElementById("submit-btn").click(); } }; }
That's cool. Might be the periods. I'm always lurking though. This one works well so I don't have to remember which number to press. Will make it quicker too. Thanks.
// ==UserScript==
// @name Dustin Schwenk - Describe the setting of a short animation clip
// @namespace http://your.homepage/
// @version 0.1
// @description enter something useful
// @author turker
// @grant none
// @require http://code.jquery.com/jquery-latest.min.js
// @include *
// @exclude http://www.mturkcrowd.com/*
// ==/UserScript==
if ( $("body:contains('is this scene')").length ) {
document.getElementById("setting").focus();
document.getElementsByTagName("header")[1].getElementsByTagName("i")[0].innerHTML = "<a class='a'>kitchen,</a><a class='a'> bedroom,</a><a class='a'> living room,</a><a class='a'> park,</a><a class='a'> dining room,</a><a class='a'> playground,</a><a class='a'> classroom,</a><a class='a'> quarry,</a><a class='a'> road,</a><a class='a'> doorway,</a><a class='a'> car</a>";
var addThis0 = function() {
document.getElementById("setting").value = "kitchen";
};
var addThis1 = function() {
document.getElementById("setting").value = "bedroom";
};
var addThis2 = function() {
document.getElementById("setting").value = "living room";
};
var addThis3 = function() {
document.getElementById("setting").value = "park";
};
var addThis4 = function() {
document.getElementById("setting").value = "dining room";
};
var addThis5 = function() {
document.getElementById("setting").value = "playground";
};
var addThis6 = function() {
document.getElementById("setting").value = "classroom";
};
var addThis7 = function() {
document.getElementById("setting").value = "quarry";
};
var addThis8 = function() {
document.getElementById("setting").value = "road";
};
var addThis9 = function() {
document.getElementById("setting").value = "doorway";
};
var addThis10 = function() {
document.getElementById("setting").value = "car";
};
var overall = document.getElementsByClassName("a");
overall[0].onclick = addThis0;
overall[1].onclick = addThis1;
overall[2].onclick = addThis2;
overall[3].onclick = addThis3;
overall[4].onclick = addThis4;
overall[5].onclick = addThis5;
overall[6].onclick = addThis6;
overall[7].onclick = addThis7;
overall[8].onclick = addThis8;
overall[9].onclick = addThis9;
overall[10].onclick = addThis10;
overall[11].onclick = addThis11;
var choice = [];
choice[1] = "kitchen";
choice[2] = "bedroom";
choice[3] = "living room";
choice[4] = "park";
choice[5] = "dining room";
choice[6] = "playground";
choice[7] = "classroom";
choice[8] = "quarry";
choice[9] = "road";
choice[0] = "doorway";
document.getElementsByTagName("body")[0].onkeydown = function(event) {
for (i=0;i<choice.length;i++) {
if (event.keyCode == 48+i) {
event.preventDefault();
document.getElementById("setting").value = choice[i];
}
}
if (event.keyCode == 189) {
event.preventDefault();
document.getElementById("setting").value = "car";
}
if (document.getElementById("setting").value.length > 0) {
//document.getElementById("submit-btn").click();
}
};
}
Nothing wrong with making the script look nice. Lolthis 1 just has commas added in to make the words more readable again. last editCode:// ==UserScript== // @name Dustin Schwenk - Describe the setting of a short animation clip // @namespace http://your.homepage/ // @version 0.1 // @description enter something useful // @author turker // @grant none // @require http://code.jquery.com/jquery-latest.min.js // @include * // @exclude http://www.mturkcrowd.com/* // ==/UserScript== if ( $("body:contains('is this scene')").length ) { document.getElementById("setting").focus(); document.getElementsByTagName("header")[1].getElementsByTagName("i")[0].innerHTML = "<a class='a'>kitchen,</a><a class='a'> bedroom,</a><a class='a'> living room,</a><a class='a'> park,</a><a class='a'> dining room,</a><a class='a'> playground,</a><a class='a'> classroom,</a><a class='a'> quarry,</a><a class='a'> road,</a><a class='a'> doorway,</a><a class='a'> car</a>"; var addThis0 = function() { document.getElementById("setting").value = "kitchen"; }; var addThis1 = function() { document.getElementById("setting").value = "bedroom"; }; var addThis2 = function() { document.getElementById("setting").value = "living room"; }; var addThis3 = function() { document.getElementById("setting").value = "park"; }; var addThis4 = function() { document.getElementById("setting").value = "dining room"; }; var addThis5 = function() { document.getElementById("setting").value = "playground"; }; var addThis6 = function() { document.getElementById("setting").value = "classroom"; }; var addThis7 = function() { document.getElementById("setting").value = "quarry"; }; var addThis8 = function() { document.getElementById("setting").value = "road"; }; var addThis9 = function() { document.getElementById("setting").value = "doorway"; }; var addThis10 = function() { document.getElementById("setting").value = "car"; }; var overall = document.getElementsByClassName("a"); overall[0].onclick = addThis0; overall[1].onclick = addThis1; overall[2].onclick = addThis2; overall[3].onclick = addThis3; overall[4].onclick = addThis4; overall[5].onclick = addThis5; overall[6].onclick = addThis6; overall[7].onclick = addThis7; overall[8].onclick = addThis8; overall[9].onclick = addThis9; overall[10].onclick = addThis10; overall[11].onclick = addThis11; var choice = []; choice[1] = "kitchen"; choice[2] = "bedroom"; choice[3] = "living room"; choice[4] = "park"; choice[5] = "dining room"; choice[6] = "playground"; choice[7] = "classroom"; choice[8] = "quarry"; choice[9] = "road"; choice[0] = "doorway"; document.getElementsByTagName("body")[0].onkeydown = function(event) { for (i=0;i<choice.length;i++) { if (event.keyCode == 48+i) { event.preventDefault(); document.getElementById("setting").value = choice[i]; } } if (event.keyCode == 189) { event.preventDefault(); document.getElementById("setting").value = "car"; } if (document.getElementById("setting").value.length > 0) { //document.getElementById("submit-btn").click(); } }; }
Title: Answer a survey about American foreign policy | PANDA Worker: Preview | Accept | Requester Requester: Sean Braniff [A3N31E6X6G5P84] (Contact) TO 1: [Pay: 5.00] [Fast: 0.00] [Comm: 0.00] [Fair: 0.00] [Reviews: 1] [ToS: 0] TO 2: Not Available Reward: $0.75 Duration: 10 minutes Available: 1 Description: We are conducting an academic survey about American foreign policy preferences. We need to understand your opinion about America’s response to foreign threats. The survey should take 5-7 minutes. Your responses will be anonymous. Requirements: Masters Exists ; Location EqualTo US; |
HIT exported from Mturk Suite v1.25.7 |