MTurk resize iframe and setfocus

Resizes the Mechanical Turk (MTurk) HIT iframe to 1200 and automatically sets the focus to the iframe.

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==UserScript==
// @name        MTurk resize iframe and setfocus
// @namespace   na
// @include     http://www.mturk.com/mturk/*
// @version     1
// @grant       none
// @description Resizes the Mechanical Turk (MTurk) HIT iframe to 1200 and automatically sets the focus to the iframe.
// ==/UserScript==


var a = document.getElementsByTagName("IFRAME");
for (var i=0, len=a.length; i<len; i++) {
  a[i].height="1200"; 
    a[i].focus();
    }