Emotes-On-Beta

try to take over the world!

2017-08-18 या दिनांकाला. सर्वात नवीन आवृत्ती पाहा.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name         Emotes-On-Beta
// @namespace    JaysonHusky
// @version      1
// @description  try to take over the world!
// @author       You
// @match        https://www.furaffinity.net/*
// @grant        none
// @require      https://code.jquery.com/jquery-latest.js
// ==/UserScript==
(function() {
    'use strict';
var BBCodeEmoji = `
<i class="smilie tongue" style="cursor: pointer;" onclick="performInsert(this, '', ' :-p ');"></i>
<i class="smilie cool" style="cursor: pointer;" onclick="performInsert(this, '', ' :cool: ');"></i>
<i class="smilie wink" style="cursor: pointer;" onclick="performInsert(this, '', ' ;-) ');"></i>
<i class="smilie oooh" style="cursor: pointer;" onclick="performInsert(this, '', ' :-o ');"></i>
<i class="smilie smile" style="cursor: pointer;" onclick="performInsert(this, '', ' :-) ');"></i>
<i class="smilie evil" style="cursor: pointer;" onclick="performInsert(this, '', ' :evil: ');"></i>
<i class="smilie huh" style="cursor: pointer;" onclick="performInsert(this, '', ' :huh: ');"></i>
<i class="smilie whatever" style="cursor: pointer;" onclick="performInsert(this, '', ' :whatever: ');"></i>
<i class="smilie angel" style="cursor: pointer;" onclick="performInsert(this, '', ' :angel: ');"></i>
<i class="smilie badhairday" style="cursor: pointer;" onclick="performInsert(this, '', ' :badhair: ');"></i>
<i class="smilie lmao" style="cursor: pointer;" onclick="performInsert(this, '', ' :lmao: ');"></i>
<i class="smilie cd" style="cursor: pointer;" onclick="performInsert(this, '', ' :cd: ');"></i>
<i class="smilie crying" style="cursor: pointer;" onclick="performInsert(this, '', ' :cry: ');"></i>
<i class="smilie dunno" style="cursor: pointer;" onclick="performInsert(this, '', ' :idunno: ');"></i>
<i class="smilie embarrassed" style="cursor: pointer;" onclick="performInsert(this, '', ' :embarrassed: ');"></i>
<i class="smilie gift" style="cursor: pointer;" onclick="performInsert(this, '', ' :gift: ');"></i>
<i class="smilie coffee" style="cursor: pointer;" onclick="performInsert(this, '', ' :coffee: ');"></i>
<i class="smilie love" style="cursor: pointer;" onclick="performInsert(this, '', ' :love: ');"></i>
<i class="smilie nerd" style="cursor: pointer;" onclick="performInsert(this, '', ' :isanerd: ');"></i>
<i class="smilie note" style="cursor: pointer;" onclick="performInsert(this, '', ' :note: ');"></i>
<i class="smilie derp" style="cursor: pointer;" onclick="performInsert(this, '', ' :derp: ');"></i>
<i class="smilie sarcastic" style="cursor: pointer;" onclick="performInsert(this, '', ' :sarcastic: ');"></i>
<i class="smilie serious" style="cursor: pointer;" onclick="performInsert(this, '', ' :serious: ');"></i>
<i class="smilie sad" style="cursor: pointer;" onclick="performInsert(this, '', ' :-( ');"></i>
<i class="smilie sleepy" style="cursor: pointer;" onclick="performInsert(this, '', ' :sleepy: ');"></i>
<i class="smilie teeth" style="cursor: pointer;" onclick="performInsert(this, '', ' :teeth: ');"></i>
<i class="smilie veryhappy" style="cursor: pointer;" onclick="performInsert(this, '', ' :veryhappy: ');"></i>
<i class="smilie yelling" style="cursor: pointer;" onclick="performInsert(this, '', ' :yelling: ');"></i>
<i class="smilie zipped" style="cursor: pointer;" onclick="performInsert(this, '', ' :zipped: ');"></i>`;
var pathx=window.location.pathname;
    if(~pathx.indexOf("/controls/profile/")){
            $("textarea[name='profileinfo']").before(BBCodeEmoji);
    }
    else if(~pathx.indexOf("/msg/pms/")){
        $("textarea[name='message']").before("<br/><br/>"+BBCodeEmoji);
    }
    else if(~pathx.indexOf("/controls/journal/")) {
        $("textarea[name='message']").before("<br/><br/>"+BBCodeEmoji);
    }
    else {
        $("textarea[name='message']").before("<br/><br/>"+BBCodeEmoji);
        $("textarea[name='reply']").before("<br/><br/>"+BBCodeEmoji);
        $("textarea[name='shout']").after(BBCodeEmoji);
    }
})();