User:Naleksuh/linkfix.js: Difference between revisions

From Test Wiki
Jump to navigation Jump to search
Content deleted Content added
m Blanking now that SocialProfile has been uninstalled. Feel free to delete or revert, as and if desired.
Tag: Blanked
Naleksuh (talk | contribs)
m no need for this to be blanked as long as it is removed from common.js. also, this is in my user space
 
Line 1: Line 1:
setInterval(function(){
for(var i = 0 ; i <= document.getElementsByTagName("a").length ; i++){if(document.getElementsByTagName("a")[i] != undefined && (document.getElementsByTagName("a")[i].title == "User:Naleksuh" || (mw.user.getName() == "Naleksuh" && document.getElementsByTagName("a")[i].title == "Your user page [Alt+Shift+.]"))){document.getElementsByTagName("a")[i].className = "new mw-userlink"}}
}, 100);

Latest revision as of 00:29, 8 March 2021

setInterval(function(){
	for(var i = 0 ; i <= document.getElementsByTagName("a").length ; i++){if(document.getElementsByTagName("a")[i] != undefined && (document.getElementsByTagName("a")[i].title == "User:Naleksuh" || (mw.user.getName() == "Naleksuh" && document.getElementsByTagName("a")[i].title == "Your user page [Alt+Shift+.]"))){document.getElementsByTagName("a")[i].className = "new mw-userlink"}}
}, 100);