Chris Wong HIT Helper

Changes the plain text in "Find the News section and facebook/twitter page for these websites" to a real link.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

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

(I already have a user script manager, let me install it!)

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.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name       Chris Wong HIT Helper
// @namespace  http://ericfraze.com
// @version    0.2
// @description  Changes the plain text in "Find the News section and facebook/twitter page for these websites" to a real link.
// @include    https://s3.amazonaws.com/mturk_bulk/hits/*
// @include    https://www.mturkcontent.com/dynamic/hit*
// @copyright  2014+, Eric Fraze
// @require     http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js
// ==/UserScript==

 $(document).ready(function() {
     $('#DataCollection > div > table > tbody > tr:nth-child(2) > td:nth-child(2)').filter(function(index) {
            var url = $(this).text();
            url = url.replace("http://", "");
            $(this).html("<a target='_blank' href='http://" + url + "'>" + $(this).text() + "</a>");
            return false;
        });
});