Pandabutt

Is this what my life has become?

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey, Greasemonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

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

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

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

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्क्रिप्ट व्यवस्थापक एक्स्टेंशन इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्क्रिप्ट व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्टाईल व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

// ==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);
}