09/05 - Cum Tacent, Clamant Tuesday

Status
Not open for further replies.

SalvadorZombie

The Jon Moxley of Mturk
Joined
Jun 19, 2016
Messages
703
Reaction score
1,404
Points
393
Location
Missouri
Gender
Male
My paranoia isn't sure what I would put for the one I'm looking at. Brain says "outside," but it could be yard, front yard, back yard, etc.
 
D

Deleted member 526

Guest
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();
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();
}
};
}
sorry it took me longer. this is keys 1-9, 0, and the minus sign along the top of the keyboard. doesn't work with numberpad. each key enters a term in the box. jan @jan SalvadorZombie @SalvadorZombie McAodh @McAodh
 

ElleWoods

Walking in a Turker Wonderland
Contributor
Joined
Jan 23, 2016
Messages
4,696
Reaction score
10,873
Points
988
Gender
Female
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
7 min
 
  • Like
Reactions: ChristopherASA
D

Deleted member 526

Guest
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();
}
};
}
with this script the words can be clicked with the mouse instead of clicking the keys. @klyde I can't tag you for some reason.
 
Last edited by a moderator:
  • Like
Reactions: jan

klyde

No, I don't want to see your pog collection
Contributor
Joined
Mar 24, 2016
Messages
3,302
Reaction score
5,497
Points
838
Gender
Male
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();
}
};
}
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.
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.
 
  • Like
Reactions: Deleted member 526
D

Deleted member 526

Guest
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.
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();
}
};
}
this 1 just has commas added in to make the words more readable again. last edit :)
 

klyde

No, I don't want to see your pog collection
Contributor
Joined
Mar 24, 2016
Messages
3,302
Reaction score
5,497
Points
838
Gender
Male
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();
}
};
}
this 1 just has commas added in to make the words more readable again. last edit :)
Nothing wrong with making the script look nice. Lol
 
  • Like
Reactions: Deleted member 526

ElleWoods

Walking in a Turker Wonderland
Contributor
Joined
Jan 23, 2016
Messages
4,696
Reaction score
10,873
Points
988
Gender
Female
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
3.5 min
 

MindNumbing

Well-Known Member
Contributor
Joined
Jan 12, 2016
Messages
5,971
Reaction score
10,565
Points
1,013
Gender
Female
I see lazer lab lowered the pay.
 
Status
Not open for further replies.