Last active
February 23, 2017 01:38
-
-
Save brandonhellman/52495cfe438f499c152d40f7268042f9 to your computer and use it in GitHub Desktop.
Copy the code below into the console on any https://www.mturk.com/ page and hit enter. This will print out your HIT Scraper block and include list formatted for Mturk Suite - HIT Finder.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const MTS_BL = {}, MTS_IL = {}; | |
const BL = localStorage.getItem(`scraper_ignore_list`).split(`^`); | |
const IL = localStorage.getItem(`scraper_include_list`).split(`^`); | |
for (let i = 0; i < BL.length; i ++) { | |
MTS_BL[BL[i]] = { | |
term: BL[i], | |
name: BL[i] | |
}; | |
} | |
for (let i = 0; i < IL.length; i ++) { | |
MTS_IL[IL[i]] = { | |
term: IL[i], | |
name: IL[i], | |
type: `voice`, | |
sound: true, | |
notification: true, | |
pushbullet: true | |
}; | |
} | |
console.log(`--- Block List ---`) | |
console.log(JSON.stringify(MTS_BL)); | |
console.log(`--- Include List ---`) | |
console.log(JSON.stringify(MTS_IL)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment