1. Halloween is right around the corner, don't be tricked or miss out on any treats. Register today!

    Features for members include:

    • Live thread update (no need to refresh pages to see new posts/HITs)
    • Desktop alerts - direct PANDAs from exported HITs right on your desktop
    • Access to the full list of HITs export through the Daily HIT Log
    • EarnHub account that allows you to earn money while watching videos like Swagbucks, EarnHoney, & PerkTV
    • This corny message goes away haha

MRX - Write the code shown in an image

Discussion in 'Scripts & Resources' started by rosesword975, Dec 4, 2016.

  1. rosesword975

    rosesword975 New Member

    +11 / 0 / -0
    In honor of the new site I will post two of my scripts. One is for masters (another post) and this one is just a basic one that does not require masters.
    I know it ain't much, but it might help out some newbies.

    // ==UserScript==
    // @name        @shared - MRX - Write the code shown in an image
    // @namespace   https://greasyfork.org/en/users/13132-rosesword975
    // @version     1
    // @author       rosesword975
    // @description puts cursor in box automatically and hides instructions
    // @grant       none
    // @include     https://www.mturkcontent.com/dynamic/*
    // @require     http://code.jquery.com/jquery-2.1.4.min.js
    // @require     https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js
    // ==/UserScript==
      if($('body:contains(Transcribe the code contained in the image.)').length){
        // Creates button and hides instructions.
        $(".panel.panel-primary").before('<button id="toggle" type="button"><span>Show Instructions</span></button>');
        // Toggles instructions and changes toggle text.
        $('#toggle').click(function() {
        $('#toggle').text() == 'Show Instructions' ? str = 'Hide Instructions' : str = 'Show Instructions';
        $('#toggle span').html(str);