HighlightMasters

Highlights Masters HITs in the color red on search pages. Specifically, the HIT title.

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

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

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği indirebilmeniz için ayrıca Tampermonkey gibi bir eklenti kurmanız gerekmektedir.

Bu betiği yüklemek için bir betik yöneticisi eklentisi yüklemeniz gerekecektir.

(Zaten bir betik yöneticim var, hadi yükleyelim!)

Bu stili yüklemek için Stylus gibi bir uzantı yüklemeniz gerekir.

Bu stili yüklemek için Stylus gibi bir uzantı kurmanız gerekir.

Bu stili yükleyebilmek için Stylus gibi bir uzantı yüklemeniz gerekir.

Bu stili yüklemek için bir kullanıcı stili yöneticisi uzantısı yüklemeniz gerekir.

Bu stili yüklemek için bir kullanıcı stili yöneticisi uzantısı kurmanız gerekir.

Bu stili yükleyebilmek için bir kullanıcı stili yöneticisi uzantısı yüklemeniz gerekir.

(Zateb bir user-style yöneticim var, yükleyeyim!)

// ==UserScript==
// @name        HighlightMasters
// @namespace   thisisnotavalidnamespace
// @version     2.0.20180115
// @description	Highlights Masters HITs in the color red on search pages. Specifically, the HIT title.
// @match       https://worker.mturk.com/?filters*
// @match       https://worker.mturk.com/projects?*
// @match       https://worker.mturk.com/projects
// @match       https://worker.mturk.com/projects/
// @match       https://worker.mturk.com/projects/?filters*
// @match       https://worker.mturk.com/projects/?page_size=*
// @match       https://worker.mturk.com/requesters/*
// @match       https://worker.mturk.com/?*
// @match       https://worker.mturk.com/
// @require     http://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js
// @grant       none
// ==/UserScript==
this.$ = this.jQuery = jQuery.noConflict(true);
$().ready(function() {
//alert($("li.hit-set-table-row").html());
$("span.button-text:Contains('Show Details')").click();

    $("li.hit-set-table-row:Contains('Masters has been granted')").each(function(index) {
	$(this).find("span.project-name-column").css('color', '#8B0000');
    });
$("span.button-text:Contains('Hide Details')").click();
    $("td:Contains('Masters')").each(function(index) {
        if ($(this).next().next().is(":Contains('You meet this qualification requirement')")) {
            $(this).parent().parent().parent().parent().parent().parent().parent().parent().parent().parent().parent()
//            .find("[bgcolor*='CCDDE9']").css('background-color', '#FFE0E0');
            .find("[bgcolor*='CCDDE9']").find("a").css('color', '#8B0000');
        }
    });
});