*Derpibooru needs YOUR help!* - Tumblr is killing itself, see how you can help save art by checking this thread
The 2019 Community Collab has begun! Announcing round three of our annual collaboration group picture! More information here

[Userscript] Emoticons!

Started by Sollace
Posted
65 replies
Login to subscribe to responses
Sollace's avatar
Posts: 899
Sollace
Artist - sollace
An Artist Who Rocks - 100+ images under their artist tag
Not a Llama - Happy April Fools Day!
Magical Inkwell - Wrote MLP fanfiction consisting of at least around 1.5k words, and has a verified link to the platform of their choice
A Really Classy Artist - 250+ images under their artist tag
Best Artist - Providing quality, Derpibooru-exclusive artwork

Really likes Pear Butter
Tired of your comments being lifeless and boring? Ever wish ponies would look at you and go: Wow, this guy’s smart, charismatic, and handsome!

Well look no further! I have the userscript for you! Derpibooru emoticons adds a grand total of 56 cute pony themed emoticons — emotiponies to liven up your comment section!



They won’t make anypony charismatic or handsome, but ponies will certainly notice your smart use of emoticons!

Get it now from the links below, for a limited time + offer of free!

+ Time may not actually be limited

Download: link

Installation Instructions:
Before anything make sure you have installed Violentmonkey* for Firefox or Tampermonkey for Chrome, Opera, Safari or Edge


After that simply click the download link to be prompted to install the script.

*Important Note: Do NOT use Greasemonkey. It’s dead, and the script may not work with it.


Changelog:
1.2.1 – Remove the outdated rainbowexcited emoticon
1.2 – Added the requested emoticons. :sunset: :quack: :squirrel: :starlightsmile: :starlighttriggered: :iwtcird:
1.1 – Moved emoticons to derpibooru (fixes known issues)
– Emoticon picker now works for PMs and other stuff I forgot
1.0 – initial release

Known Issues:
Scripts that linkifty external images linkify emoticons +
The browser console gets a bit spammy because of how deribooru handles external resources +

Disclaimer:
As with anything, be careful about the scripts you can install. This one does not read or store any information in your browser, for the knowable the source can be easily read over here
Sollace's avatar
Posts: 899
Sollace
Artist - sollace
An Artist Who Rocks - 100+ images under their artist tag
Not a Llama - Happy April Fools Day!
Magical Inkwell - Wrote MLP fanfiction consisting of at least around 1.5k words, and has a verified link to the platform of their choice
A Really Classy Artist - 250+ images under their artist tag
Best Artist - Providing quality, Derpibooru-exclusive artwork

Really likes Pear Butter
Oh, also: They’re not just buttons. Try clicking and dragging to select multiple ones to drop in the text area.
Posted Report
DoublePipe's avatar
Posts: 231
DoublePipe
Not a Llama - Happy April Fools Day!

Site Moderator
Site Developer
@Sollace
The browser console gets a bit spammy because of how deribooru handles external resources

Heh, those are Content Security Policy warnings and not something we’ve put there because we enjoy spamming your console. While they only result in warnings right now, we intend to enforce them eventually meaning that your images won’t load. When in effect, they’ll protect the site from XSS attacks among other things.

We’ll put out a general warning to userscript/userstyle authors with suggested alternatives and keep that up for a while before it happens, though. I’d suggest either uploading them to the site as you said or include them as base64-encoded data within your script. If you upload them, do it with a small amount at a time to avoid flooding the frontpage. You’ll also want to look at the "GM_addStyle" function for injecting CSS, since this bypasses CSP.

Besides this, it looks like a neat script.
Sollace's avatar
Posts: 899
Sollace
Artist - sollace
An Artist Who Rocks - 100+ images under their artist tag
Not a Llama - Happy April Fools Day!
Magical Inkwell - Wrote MLP fanfiction consisting of at least around 1.5k words, and has a verified link to the platform of their choice
A Really Classy Artist - 250+ images under their artist tag
Best Artist - Providing quality, Derpibooru-exclusive artwork

Really likes Pear Butter
@DoublePipe
Alrighty, I’ll do the uploading a few at a time.

Can’t do embedded images because they need to be visible to people without the script. :T

Edit: Didn’t see the part about the GM_addstyle. I generally don’t use GM_ functions. :/ I suppose I could change to that if it becomes necessary, but I rather keep greasemonkey’s sandbox out of it where it can’t mess things up.

Edit 2: CSP with the stylesheet does not seem to be an issue. Probably because it’s not a loaded resource. There is a warning for the sheet inserted by stylish, which you may want to look at:

Content Security Policy: The page’s settings observed the loading of a resource at data:text/css,/*Dressabooru*/%2F*%0ADressabooru%0A%0AA%20fabulous%20theme%20for%20derpibooru.%0A*%2F%0A%0A%40-moz-document%0A%09regexp(’http%3F%5Bs%5D%3A%2F%2F(derpi%7Ctrixie)boo(%5C.ru%7Cru%5C.org).*’)…
DoublePipe's avatar
Posts: 231
DoublePipe
Not a Llama - Happy April Fools Day!

Site Moderator
Site Developer
"There is a warning for the sheet inserted by stylish"

That’s your browser inserting the warning. It means that the stylesheet won’t work when we start to enforce the policies that are causing the warning.

"I generally don’t use GM_ functions. :/"

They seem to be implemented in other userscript engines too, if that is the concern. Unfortunately I don’t think there are other CSP-compliant ways to insert CSS.

If you have other questions we can take it over PM to avoid turning your thread into one about CSP.
Sollace's avatar
Posts: 899
Sollace
Artist - sollace
An Artist Who Rocks - 100+ images under their artist tag
Not a Llama - Happy April Fools Day!
Magical Inkwell - Wrote MLP fanfiction consisting of at least around 1.5k words, and has a verified link to the platform of their choice
A Really Classy Artist - 250+ images under their artist tag
Best Artist - Providing quality, Derpibooru-exclusive artwork

Really likes Pear Butter


Will have to see if I can fit it in. The current set has the panel pretty full and I don’t want to have just one odd one poking out at the bottom.
Posted Report
Kincyr's avatar
Posts: 42
Kincyr
Not a Llama - Happy April Fools Day!

Spoilered Title
@Sollace
I don’t want to have just one odd one poking out at the bottom.

I’m sure users will come up with more emoticon ideas to fill the rest of the row. I’m surprised Twicane, Rariball, and Twilight Snapple haven’t become emoticon-sized already.

or the face Dash makes in the iwtcird pose
Posted Report
Sollace's avatar
Posts: 899
Sollace
Artist - sollace
An Artist Who Rocks - 100+ images under their artist tag
Not a Llama - Happy April Fools Day!
Magical Inkwell - Wrote MLP fanfiction consisting of at least around 1.5k words, and has a verified link to the platform of their choice
A Really Classy Artist - 250+ images under their artist tag
Best Artist - Providing quality, Derpibooru-exclusive artwork

Really likes Pear Butter
@Kincyr
I suppose, for completeness, I should link the complete set of emoticons that exist:



Not all of them made it into this script because I want to keep it to a consistent theme and level of quality, but all of these are available to use on FimFiction using my userscript .

If you have an idea for a pose not already made, and can link me an image to work from, I could probably organise something.
Posted Report
Interested in advertising on Derpibooru? Click here for information!
Pony Arts & Prints!

Derpibooru costs over $25 a day to operate. Help keep the site up - support us on Patreon!

Syntax quick reference: *bold* _italic_ [spoiler]hide text[/spoiler] @code@ +underline+ -strike- ^sup^ ~sub~