User:Froth/refdeskmod.js

if (window.addEventListener) // I don't at all trust addOnloadHook in wikibits.js window.addEventListener('load', refdeskmod, false); else if (window.attachEvent) window.attachEvent('onload', refdeskmod);

function refdeskmod { if(location.href.indexOf("Wikipedia:RD") != -1 || location.href.indexOf("Wikipedia:Reference_desk") != -1 || location.href.indexOf("Wikipedia:Reference%20desk") != -1) {

var writeWhat = '\n' + FROTHlinkTo('Wikipedia:Reference desk/Computing') + ' c ' + FROTHlinkTo('Wikipedia:Reference desk/Science') +' s ' + FROTHlinkTo('Wikipedia:Reference desk/Math') +' m ' + FROTHlinkTo('Wikipedia:Reference desk/Humanities') +' h ' + FROTHlinkTo('Wikipedia:Reference desk/Language') +' l ' + FROTHlinkTo('Wikipedia:Reference desk/Entertainment') +' e ' + FROTHlinkTo('Wikipedia:Reference desk/Miscellaneous') +' m ' +' \n';

document.getElementById("jsplaceholder").innerHTML = writeWhat;

}

//this is not an option ******, you be WP:RD or we have a problem. errr we do nothing

}

function FROTHlinkTo(wppage) { return ''; }