User:SD0001/RC-links-new-tab.js

/** * Simple script to make all links on Recent Changes list open in a new tab * * Per suggestion by Nick Moyes, Special:Diff/864758515 * */

if (mw.config.get('wgCanonicalSpecialPageName') === 'Recentchanges') { mw.hook('wikipage.content').add(function {		$('.mw-changeslist a').attr('target', '_blank');	}); }