Author Topic: Smackdown emote Blockland Greasemonkey  (Read 1368 times)

what i mean is i dont want to give birth to cancer
true
but you can delete it if it becomes an issue

true
but you can delete it if it becomes an issue
my point is i just dont care to create more emotes, I just wanted to create a smack down emote

i modified the code, as giving it an actual emote :smackdown: freaks me out for some reason. im pretty sure i made it just put in an actual image tag

the entire code is now
Code: [Select]
document.getElementsByTagName("td")[17].innerHTML += '<a href="javascript:replaceText(\'[img height=50]http://swololol.com/sd[/img]\', document.forms.postmodify.message);"><img src="http://swololol.com/sd" width="35" height="30" align="bottom" alt="" title="" border="0"></a>';


no replacement text or modifying the post button, it's now just a button you click to make bbcode quickly (which could be used to make other useful things, like instant table maker or color maker or simply a place to store many emote-like images or even simple text)
« Last Edit: December 31, 2014, 04:34:24 AM by Crispy_ »

This script will surely help me put the on all those forum trolls who threaten our humble little community.

Code: [Select]
// ==UserScript==
// @name       Blockland Emotes
// @namespace  http://swololol.com
// @version    3
// @description  Smackdown Emote + additions
// @match      http://forum.blockland.us/index.php?action=post*
// @copyright  2014+, Swollow, Crispy
// ==/UserScript==
document.getElementsByTagName("td")[17].innerHTML += '<a href="javascript:replaceText(\'[img height=50]http://swololol.com/sd[/img]\', document.forms.postmodify.message);"><img src="http://swololol.com/sd" width="35" height="30" align="bottom" alt="" title="" border="0"></a> ';
document.getElementsByTagName("td")[17].innerHTML += '<a href="javascript:replaceText(\'[img]http://forum.blockland.us/Themes/Blockland/images/smflogo.png[/img]\', document.forms.postmodify.message);"><img src="http://forum.blockland.us/Themes/Blockland/images/smflogo.png" width="100" height="30" align="bottom" alt="" title="" border="0"></a> ';



Should I add more?
sorry swollow but im kinda taking over your code lol

-snip-



Should I add more?
sorry swollow but im kinda taking over your code lol
man i wish i knew how to do this stuff

why are you changing it and posting, i made it so it would be an emote
like seriously wtf did you accomplish by dumbing down my code
« Last Edit: December 31, 2014, 02:53:14 PM by Swollow »


We now require an MLG quickscope emote...

I honestly don't know how to install this. Please help