Emotes-On-Beta

try to take over the world!

Stan na 18-08-2017. Zobacz najnowsza wersja.

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

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

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         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);
    }
})();