Year of the Dragon: Through April 23rd, claim the adventure pack Slice of Life for free! Speak to Xatheral in the Hall of Heroes.
Game mechanics • Newbie guide • In development • DDO Store • Social Media
Challenges • Classes • Collectables • Crafting • Enhancements • Epic Destinies • Favor • Feats
Glossary • Items • Maps • Monsters • Places • Quests • Races • Reincarnation • Skills • Spells
Please create an account or log in to build a reputation and unlock more editing privileges, and then visit DDO wiki's IRC Chat/Discord if you need any help!
User:JJMC89/checkuser-toollinks-enwiki.js
Jump to navigation
Jump to search
Note: After saving, you may have to bypass your browser's cache to see the changes, you can click here or try one of the methods below..
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl+F5 or Ctrl+r (⌘ Command+r on a Mac)
- Google Chrome: Press Ctrl+⇧ Shift+R (⌘ Command+⇧ Shift+R on a Mac)
- Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl+F5
- Konqueror: Click Reload or press F5
- Opera: Clear the cache in Tools ‣ Preferences
/**
* Hack enwiki contribs link into CU results
* @author JJMC89
*/
/* <nowiki> */
(function(){
if ( mw.config.get( 'wgCanonicalNamespace' ) !== 'Special' || mw.config.get( 'wgCanonicalSpecialPageName' ) !== 'CheckUser' ) {
return;
}
var checkuserresults = document.getElementById('checkuserresults');
if ( checkuserresults === null ) {
return;
}
checkuserresults = checkuserresults.innerHTML;
checkuserresults = checkuserresults.replace(
/(<a href=")(\/page)(\/Special:Contributions\/[\d\.]+")( .+?)(<\/a>)/g,
'$1$2$3$4$5<sup>($1https://enwp.org$3>enwiki$5)</sup>'
);
document.getElementById('checkuserresults').innerHTML = checkuserresults;
})();
/* </nowiki> */