User:Naleksuh/linkfix.js: Difference between revisions

From Test Wiki
Jump to navigation Jump to search
Content deleted Content added
Naleksuh (talk | contribs)
m Naleksuh moved page User:Naleksuh/common.js to User:Naleksuh/linkfix.js without leaving a redirect
m Blanking now that SocialProfile has been uninstalled. Feel free to delete or revert, as and if desired.
Tag: Blanked
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);

Revision as of 22:58, 6 March 2021