Pandabutt

Is this what my life has become?

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

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

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         Pandabutt
// @version      0.10
// @description  Is this what my life has become?
// @author       Tjololo
// @match        http://mturkforum.com/*
// @match        http://www.mturkgrind.com/*
// @require      http://code.jquery.com/jquery-git.js
// @namespace https://greasyfork.org/users/710
// ==/UserScript==

$("div.postbody").each(function() { replaceText($(this)); });

$("div.messageContent").each(function() { replaceText($(this)); });

function replaceText(item) {
    var oldtext = item.html();
    var newtext = oldtext.replace(/(images\/)?butt/g, function($0,$1){ return $1?$0:"PLACEHOLDER";});
    newtext = newtext.replace(/panda/g, "butt");
    newtext = newtext.replace(/PLACEHOLDERon/g, "button");
    newtext = newtext.replace(/PLACEHOLDER/g, "panda");
    newtext = newtext.replace(/body/g, "pony");
    newtext = newtext.replace(/people/g, "ponies");
    newtext = newtext.replace(/person/g, "pony");
    newtext = newtext.replace(/hands/g, "hooves");
    newtext = newtext.replace(/hand/g, "hoof");
    newtext = newtext.replace(/foot/g, "hoof");
    newtext = newtext.replace(/feet/g, "hooves");
    newtext = newtext.replace(/hair/g, "mane");
    newtext = newtext.replace(/([\.\/-])?mturk/g, function($0,$1){ return $1?$0:"equestria";});
    newtext = newtext.replace(/tj(ol)*o?/ig, "The Sexy Pony Overlord");
    item.html(newtext);
}