User:Pythoncoder/Scripts/userHighlighter.js: Difference between revisions

Content deleted Content added
contribs
update
Line 61:
mw.util.addCSS(".userhighlighter_oversight {background-color: #888}");
mw.util.addCSS(".userhighlighter_checkuser {background-color: #9df}");
mw.util.addCSS(".userhighlighter_sysop {background-color: #ff9; font-weight: bold;}");
mw.util.addCSS(".userhighlighter_temop {background-color: #fce}");
mw.util.addCSS(".userhighlighter_pgmvr {background-color: #bf9}");
Line 83:
if(acdata[user] == 1) {
link.attr("class",className "+= link.className ? ' userhighlighter_arbcom' : 'userhighlighter_arbcom")';
}
else if(crdata[user] == 1) {
link.attr("class",className "+= link.className ? ' userhighlighter_crat' : 'userhighlighter_crat")';
}
else if(osdata[user] == 1) {
link.attr("class",className "+= link.className ? ' userhighlighter_oversight' : 'userhighlighter_oversight")';
}
else if(cudata[user] == 1) {
link.attr("class",className "+= link.className ? ' userhighlighter_checkuser' : 'userhighlighter_checkuser")';
}
else if (addata[user] == 1) {
link.attr("class",className "userhighlighter_sysop");+= //link.className Override? the' above color by using `a.userhighlighter_sysop.userhighlighter_sysop' {background-color: COLOR !important}`'userhighlighter_sysop';
}
else if(tpdata[user] == 1) {