I always wanted to look at a feature where it shows the user is offline in a thread on a forum instead of people looking on the friend list is this possible?
This is a Hitskin.com skin preview
Install the skin • Return to the skin page
This is a Hitskin.com skin preview
Install the skin • Return to the skin page
Fictional Battle Omniverse.Ange Tuteur wrote:Hello @Hagoromo Otsutsuki,
Could you provide a link to your forum ?
Thanks
$(function() {
var offline = 'http://2img.net/i/fa/subsilver/icon_delete.gif';
for (var p = $('.messaging.gensmall'), i = 0, j = p.length; i<j; i++) {
for (var img = p[i].getElementsByTagName('IMG'), k = 0, l = img.length, match; k<l; k++) {
/i_icon_online/.test(img[k].className) && (match = true);
if (k == l - 1 && !match) {
var off = document.createElement('IMG');
off.src = offline;
off.title = 'Offline';
p[i].getElementsByTagName('TD')[0].appendChild(off);
}
}
}
});