// ==UserScript== // @name FA Additional BBCode Helper // @namespace FurAffinity // @version 0.2 // @description Adds clickable functionality to common BBCode inputs // @author JaysonHusky // @match https://www.furaffinity.net/controls/journal/* // @match https://www.furaffinity.net/controls/profile/ // @grant none // @require https://code.jquery.com/jquery-latest.js // @downloadURL https://update.greasyfork.icu/scripts/29808/FA%20Additional%20BBCode%20Helper.user.js // @updateURL https://update.greasyfork.icu/scripts/29808/FA%20Additional%20BBCode%20Helper.meta.js // ==/UserScript== (function() { 'use strict'; var TemplateStyle=$('body').attr('data-static-path'); // Add Special Stylesheet for keywords var JaysBBCodeCSS=document.createElement('style'); var jayBBCodeStyle=document.createTextNode(` #abhjh{ border-radius:3px; background:rgba(1,0,0,0.1); margin-right:5px; padding:3px; } a#whatsthis{ float:right; clear:right; font-size:10px; } .helpcur{ cursor:help; } table#additionalbbcodes{ width:900px; } a.additionalbbcodeclicker{ cursor:pointer; margin-right; 10px; } table#additionalbbcodes tr{ border-bottom: 1px dotted grey; } table#additionalbbcodes td.clickable{ background: transparent; transition: 1s all; text-align:center; } table#additionalbbcodes td.clickable:hover{ background: grey; transition: 1s all; } #abhjhbox{ font-size:11px; display:block; margin:10px; } `); JaysBBCodeCSS.appendChild(jayBBCodeStyle); document.getElementsByTagName('body')[0].appendChild(JaysBBCodeCSS); var pathx=window.location.pathname; if(~pathx.indexOf("/controls/profile/")){ $('.p10b h4').after(`

  Additional BBCode Helper


Styling Bold Italic Underline Left Align Center Align Right Align
Links URL (Simple Link) URL (Custom Link) Username & Icon Username Only Icon Only
Formatting Color Quote Strikethrough Superscript Subscript
Additional BBCode Helper is a add-on to add clickable functionality to the most commonly used BBCode on FurAffinity.
You must highlight the text you want to "wrap" in the tags before clicking the tag you want.
The color option will default to white, you can replace it with ANY valid color.

`); } else{ $('form .floatleft').append(`

  Additional BBCode Helper


Links URL (Simple Link) URL (Custom Link) Username & Icon Username Only Icon Only
Formatting Color Quote Strikethrough Superscript Subscript
Media YouTube
Additional BBCode Helper is a add-on to add clickable functionality to the most commonly used BBCode on FurAffinity.
You must highlight the text you want to "wrap" in the tags before clicking the tag you want.
The color option will default to white, you can replace it with ANY valid color.

`); } })();