Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save cuylerstuwe/be171bd7a4c89e11aee69d709c8bb791 to your computer and use it in GitHub Desktop.

Select an option

Save cuylerstuwe/be171bd7a4c89e11aee69d709c8bb791 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name Mturk - Fix Submit Button Outside of Form
// @namespace salembeats
// @version 1
// @description .
// @author Cuyler Stuwe (salembeats)
// @include *
// @grant none
// ==/UserScript==
if(window === window.top) {return;}
if(!document.referrer.match(/worker.mturk.com\/projects\/[^/]*\/tasks/)) {return;}
if(!document.querySelector("#mturk_form input[type='submit']")) {
document.querySelector("#mturk_form").appendChild(document.querySelector("input[type='submit']"));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment