Evan J

Search for company news URL

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name        Evan J
// @description Search for company news URL
// @version       0.1
// @include       https://s3.amazonaws.com/mturk_bulk/hits/*
// @author        Cristo
// @copyright    2012+, You
// @namespace https://greasyfork.org/users/1973
// ==/UserScript==

var topBox = document.getElementsByClassName('highlight-box')[0];
var url = document.getElementsByTagName('b')[2];
document.getElementsByTagName('option')[1].selected = true;;
var sub = document.getElementById('submitButton');

topBox.style.display = "none";
var but = document.createElement("span");
but.style.color = "#1170A0";
but.style.textDecoration = "underline";
but.style.cursor = "pointer";
but.innerHTML = "Instructions"
topBox.parentNode.insertBefore(but,topBox);
but.addEventListener("mousedown",function() {
    if (topBox.style.display == "none") {
        topBox.style.display = "block";
    } else if (topBox.style.display == "block") {
        topBox.style.display = "none";
    }}, false);


document.addEventListener('keydown',function(i) {
    if (i.keyCode == 13) {//9
        sub.click();
    }}, false);
window.open(url.innerHTML);