[Script] Fix iFrame height in work area

Discussion in 'mTurk Scripts & Resources' started by ceedj, Dec 11, 2017.

  1. ceedj

    ceedj Survey Slinger

    Messages:
    2,767
    Gender:
    Male
    Ratings:
    +6,020
    This script expands the area that holds the iFrame, in other words, the work area, from 400ish (it tends to vary) to 1200px, for those of us with larger (17" or better) monitors.

    Code:
    // ==UserScript==
    // @name         Fix iFrame height
    // @namespace    None
    // @version      1.0
    // @description  Gawd I hate this...
    // @author       ceedj
    // @include      *.mturkcontent.com/*
    // @include      https://worker.mturk.com/projects*
    // @grant        GM_log
    // @require      https://code.jquery.com/jquery-3.0.0-alpha1.min.js
    // ==/UserScript==
    
    $(document).ready(function(){
    
        $("div[style^='height:']").height(1200);
    
    });
    
     
    • Today I Learned Today I Learned x 4
  2. lefty

    lefty Survey Slinger

    Messages:
    18,930
    Gender:
    Female
    Ratings:
    +49,005
    installed thank youuuuuuuuuuuuuu
     
    • Like Like x 1