User:Blue/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) { if (watchusers.indexOf(reflinks[ref].innerHTML) > -1) reflinks[ref].style.fontWeight = "bold"; }			}		}		req.open("GET", wgServer + wgScriptPath + "/index.php?title=User:Blue/userstowatch&action=raw", true); req.send(null); } }