Created
April 30, 2018 19:51
-
-
Save cuylerstuwe/5096c4e644a69039244a1fe0d04968fa to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| // ==UserScript== | |
| // @name Refresh Queue Until There's Work | |
| // @namespace salembeats | |
| // @version 1 | |
| // @description Refreshes the tasks page until there's work, and starts the first job once there is. | |
| // @author Cuyler Stuwe (salembeats) | |
| // @match https://worker.mturk.com/tasks | |
| // @match https://worker.mturk.com/tasks/ | |
| // @grant none | |
| // ==/UserScript== | |
| let workButton = document.querySelector("a[href*='/projects/']"); | |
| if(workButton) {workButton.click();} | |
| setTimeout(() => window.location.reload(), 2000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment