07/14 - Fishy Friday!

Status
Not open for further replies.

Kerek

Red Cat-Bear
Contributor
Crowd Pleaser
Joined
Jan 12, 2016
Messages
65,024
Reaction score
145,527
Points
2,088
Gender
Male
can we get a script that instead replaces all the numbers with tiny pictures of cats?


Code:
// ==UserScript==
// @name         Cats
// @version      0.1
// @author       Kerek
// @match        https://www.mturk.com/mturk/status
// @grant GM_xmlhttpRequest
// @require      https://code.jquery.com/jquery-3.0.0-beta1.min.js
// ==/UserScript==

var cats = [];

GM_xmlhttpRequest({
     method:   "GET",
     url:      'http://thecatapi.com/api/images/get?format=html&results_per_page=45',
     onload: function(r) {
cats = r.responseText.split('\n');
         cats.splice(-1);
         console.log(cats);
         $('table:contains("HITs Submitted Within") table tr:gt(0)').each(function(ind){
    $(this).find('td:eq(3)').html(cats[ind].replace('src','width=100 src'));
});
     },     onerror:  function(r) {         console.log('it did not work');     } });
Some of the links come back broken, though.
 

Metallica

Never free, never me
Contributor
Joined
Jan 17, 2016
Messages
5,319
Reaction score
14,228
Points
1,113
Age
34
Gender
Male


Code:
// ==UserScript==
// @name         Cats
// @version      0.1
// @author       Kerek
// @match        https://www.mturk.com/mturk/status
// @grant GM_xmlhttpRequest
// @require      https://code.jquery.com/jquery-3.0.0-beta1.min.js
// ==/UserScript==

var cats = [];

GM_xmlhttpRequest({
     method:   "GET",
     url:      'http://thecatapi.com/api/images/get?format=html&results_per_page=45',
     onload: function(r) {
cats = r.responseText.split('\n');
         cats.splice(-1);
         console.log(cats);
         $('table:contains("HITs Submitted Within") table tr:gt(0)').each(function(ind){
    $(this).find('td:eq(3)').html(cats[ind].replace('src','width=100 src'));
});
     },     onerror:  function(r) {         console.log('it did not work');     } });
Some of the links come back broken, though.
It is remarkable what turkers can accomplish
 

Jaded

The real themildone
Administrator
Joined
Jan 10, 2016
Messages
46,618
Reaction score
123,839
Points
1,414
Age
123
Gender
Female


Code:
// ==UserScript==
// @name         Cats
// @version      0.1
// @author       Kerek
// @match        https://www.mturk.com/mturk/status
// @grant GM_xmlhttpRequest
// @require      https://code.jquery.com/jquery-3.0.0-beta1.min.js
// ==/UserScript==

var cats = [];

GM_xmlhttpRequest({
     method:   "GET",
     url:      'http://thecatapi.com/api/images/get?format=html&results_per_page=45',
     onload: function(r) {
cats = r.responseText.split('\n');
         cats.splice(-1);
         console.log(cats);
         $('table:contains("HITs Submitted Within") table tr:gt(0)').each(function(ind){
    $(this).find('td:eq(3)').html(cats[ind].replace('src','width=100 src'));
});
     },     onerror:  function(r) {         console.log('it did not work');     } });
Some of the links come back broken, though.
This just makes me so happy
 

ctraltDel

Well-Known Member
Contributor
Joined
Sep 16, 2016
Messages
1,953
Reaction score
5,614
Points
838
Gender
Female
  • Like
Reactions: Pleco

C to the J

Outlaw Turker
Contributor
Master Pleaser
Crowd Pleaser
HIT Poster
Joined
Jan 12, 2016
Messages
52,911
Reaction score
163,528
Points
3,238
Age
37
Gender
Male


Code:
// ==UserScript==
// @name         Cats
// @version      0.1
// @author       Kerek
// @match        https://www.mturk.com/mturk/status
// @grant GM_xmlhttpRequest
// @require      https://code.jquery.com/jquery-3.0.0-beta1.min.js
// ==/UserScript==

var cats = [];

GM_xmlhttpRequest({
     method:   "GET",
     url:      'http://thecatapi.com/api/images/get?format=html&results_per_page=45',
     onload: function(r) {
cats = r.responseText.split('\n');
         cats.splice(-1);
         console.log(cats);
         $('table:contains("HITs Submitted Within") table tr:gt(0)').each(function(ind){
    $(this).find('td:eq(3)').html(cats[ind].replace('src','width=100 src'));
});
     },     onerror:  function(r) {         console.log('it did not work');     } });
Some of the links come back broken, though.
I'm not sure how I feel about July 7th.
 

Vanyanka

Thoroughbred of Sin
Contributor
Crowd Pleaser
HIT Poster
Joined
Jan 11, 2016
Messages
34,905
Reaction score
81,247
Points
2,338
Location
The Jungle
Gender
Female
D

Deleted member 481

Guest
Just randomly curious, anyone have a Dell XPS laptop? I was thinking of getting one, just wondered how they were.
 
  • Like
Reactions: Kerek

Kerek

Red Cat-Bear
Contributor
Crowd Pleaser
Joined
Jan 12, 2016
Messages
65,024
Reaction score
145,527
Points
2,088
Gender
Male
Just randomly curious, anyone have a Dell XPS laptop? I was thinking of getting one, just wondered how they were.
I bought part of a refurbished one for my sister. It's what I'd recommend if you have a little more cash to spend, yes, for the better frame. Otherwise a cheaper Dell if you're not moving the laptop much. Because you can get excellent specs in a shitty plastic frame with the Inspirons.
 
D

Deleted member 481

Guest
I bought part of a refurbished one for my sister. It's what I'd recommend if you have a little more cash to spend, yes, for the better frame. Otherwise a cheaper Dell if you're not moving the laptop much. Because you can get excellent specs in a shitty plastic frame with the Inspirons.
Sounds good. Get a laptop, over bed table & ready to turk from bed on weekends, lol.
 
D

Deleted member 481

Guest
Title: Pinterest - Flag DIY and multi-image Pins | PANDA
Worker: Preview | Accept | Requester
Requester: Pinterest [AURHK491L2LH6] (Contact)
TO 1: [Pay: 3.22] [Fast: 4.13] [Comm: 3.29] [Fair: 4.61] [Reviews: 75] [ToS: 14]
TO 2:
[Rate: $14.40/hr] [Pen: 3.00 days] [Res: -- of 0] [Rec: 100% of 1] [Rej: 0] [ToS: 1] [Brk: 0]
Description:
You will log in to Pinterest to complete simple tasks.
Time: 20 minutes
HITs Available: 50
Reward: $0.20
Qualifications: Scammers DoesNotExist ;
HIT exported from Mturk Suite v1.21.11
 

Jaded

The real themildone
Administrator
Joined
Jan 10, 2016
Messages
46,618
Reaction score
123,839
Points
1,414
Age
123
Gender
Female


Code:
// ==UserScript==
// @name         Cats
// @version      0.1
// @author       Kerek
// @match        https://www.mturk.com/mturk/status
// @grant GM_xmlhttpRequest
// @require      https://code.jquery.com/jquery-3.0.0-beta1.min.js
// ==/UserScript==

var cats = [];

GM_xmlhttpRequest({
     method:   "GET",
     url:      'http://thecatapi.com/api/images/get?format=html&results_per_page=45',
     onload: function(r) {
cats = r.responseText.split('\n');
         cats.splice(-1);
         console.log(cats);
         $('table:contains("HITs Submitted Within") table tr:gt(0)').each(function(ind){
    $(this).find('td:eq(3)').html(cats[ind].replace('src','width=100 src'));
});
     },     onerror:  function(r) {         console.log('it did not work');     } });
Some of the links come back broken, though.
I feel like this is something minkyboodle @minkyboodle would also like. (maybe)
 

TissueHime

Thread Maker Extraordinaire
Threaderator
Joined
Jan 12, 2016
Messages
5,552
Reaction score
7,591
Points
813
Age
35
Location
Seattle
Gender
Male

TheresaofAlbion

Working for noms
Contributor
Joined
Mar 20, 2016
Messages
977
Reaction score
1,983
Points
468
Age
45
Location
Kansas
Gender
Female

Peachy

777
Banned
Pollster
Crowd Pleaser
Champion
Joined
Jan 25, 2016
Messages
36,663
Reaction score
88,761
Points
2,089
Age
34
Status
Not open for further replies.