MediaWiki:Gadget-talkblinker.js

Note: After saving, you may have to bypass your browser's cache to see the changes. Mozilla / Firefox / Safari: hold down Shift while clicking Reload, or press Ctrl-Shift-R (Cmd-Shift-R on Apple Mac); IE: hold Ctrl while clicking Refresh, or press Ctrl-F5; Konqueror: simply click the Reload button, or press F5; Opera users may need to completely clear their cache in Tools→Preferences. — More skins

try { // containerize gadget, to protect other gadgets if this one goes wrong

//does not work in IE. yell at bawolff if you want it to work in IE.
function checkMsgs() {
  var divs = document.getElementById('bodyContent').getElementsByTagName('div');
  if(divs.length <= 2) return;
  for(var i=0;i<divs.length;i++) {
    if(divs[i].className == 'usermessage') {
      divs[i].style.display = 'none';
      var talk = document.getElementById('pt-mytalk').firstChild;
      talk.style.textDecoration='blink';
    }
  }
}
$(checkMsgs)
// adapted from http://www.wikia.com/wiki/User:Splarka/tricks stolen from http://simple.wikibooks.org/wiki/MediaWiki:Gadget-talkblinker.js

} catch (e) { // containerize gadget, to protect other gadgets if this one goes wrong
  // ignore
}