User:MordantMaenad/scripts/watchuser.js

function watchuser { if (wgPageName == "Special:RecentChanges") { if (window.XMLHttpRequest) { var req = new XMLHttpRequest; } else { var req = new ActiveXObject("Microsoft.XMLHTTP"); }		req.onreadystatechange = function { if (req.readyState == 4 && req.status == 200) { var watchusers = req.responseText.split("\n"); var reflinks = getElementsByClassName(document.getElementById('bodyContent'),"*","mw-userlink"); for (var ref in reflinks) { for (var user in watchusers) { if (reflinks[ref].innerHTML == watchusers[user]) { reflinks[ref].style.fontWeight = "bold"; }					}				}			}		}		req.open("GET", wgServer + wgScriptPath + "/index.php?title=User:MordantMaenad/userstowatch&action=raw", true); req.send(null); } }

addOnloadHook(watchuser);