Wikipedia:WikiProject User scripts/Scripts/New message history: Difference between revisions

Content deleted Content added
m use wikibits.js addOnloadHook
m use of addOnloadHook() consistent with other single-function USs
Line 8:
/**** NO WARRANTY IS PROVIDED OR IMPLIED. ***/
 
function// newmessagehistory()
addOnloadHook(newmessagehistoryfunction (); {
{
var divs = document.getElementsByTagName('div');
var talkmessagebox;
Line 36:
talkmessagebox.appendChild(historylink);
talkmessagebox.appendChild(document.createTextNode(')'));
});
 
addOnloadHook(newmessagehistory);
 
// </nowiki></pre>