At 1/6/11 12:25 AM, ChrisLovejoy wrote:
At 1/6/11 12:14 AM, Jolly wrote:
Try again, it should work now. The site apparently goes down fairly often, even though I've never personally seen it down..Still doesn't work. Is there a way you could link straight to the install from here?
I could copy and paste the source code here, so you would have to manually add it to greasemonkey.
Hopefully NG doesn't break the code.
// @name NG Auto-emote 17
// @namespace http://www.newgrounds.com/
// @description Changes your topic and post icon to always use the smiley with id w/e(default: 17).
// @include http://www.newgrounds.com/*
var sid = 17; //default 17 for the 17 face. Change this number to which smiley you want.
function MakeSmileySelection ( id )
var hidden_icon_element = document.getElementById("icon");
// First see if there's an old one to deactivate
var old_id = hidden_icon_element.value;
if(old_id != "")
document.getElementById("smiley" + old_id).className = "smiley_off";
// Now activate the new one
document.getElementById("smiley" + id).className = "smiley_on";
hidden_icon_element.value = id;