User:Naleksuh/linkfix.js: Difference between revisions

From Test Wiki
Jump to navigation Jump to search
Naleksuh (talk | contribs)
m Naleksuh moved page User:Naleksuh/common.js to User:Naleksuh/linkfix.js without leaving a redirect
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
 
(One intermediate revision by one other user not shown)
(No difference)

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);