User:Peoplelikeyou/common.js: Difference between revisions

From Test Wiki
no edit summary
No edit summary
No edit summary
Line 3: Line 3:
// This script highlights bluelinks to selected users' userpages or talkpages in bodyContent  
// This script highlights bluelinks to selected users' userpages or talkpages in bodyContent  


var userlist=new Array();
var adminrights=new Array();


adminrights['3PPYB6']=1;
adminrights['3PPYB6']=1;
Line 19: Line 19:
       n.href.indexOf(wgArticlePath.split("$1")[0]+h) == -1) return 0; // to the wrong target
       n.href.indexOf(wgArticlePath.split("$1")[0]+h) == -1) return 0; // to the wrong target
   var u=n.href.split(h)[1];
   var u=n.href.split(h)[1];
   if(userlist[u.split("_").join("%20")]==1)
   if(adminrights[u.split("_").join("%20")]==1)
   {
   {
     n.style.backgroundColor="#FACDD5";
     n.style.backgroundColor="#FACDD5";
11

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.