User:LR Guanzon/common.js

$(function { 'use strict';

/* Popups */ window.popupRevertSummaryPrompt = true; window.popupNeverGetThumbs = true;

/* Edit counter */ if (mw.config.get('wgTitle') === mw.config.get('wgUserName') && mw.config.get('wgNamespaceNumber') === 2) { var subPages = true; mw.loader.load('/w/index.php?title=User:Kanegasi/editcounter.js&action=raw&ctype=text/javascript'); }

/* Other */ if (mw.config.get('wgTitle') === 'RecentChanges' && mw.config.get('wgNamespaceNumber') === -1) { setInterval(function { 	$('ul.special a').attr('target', '_blank');  }, 1000); }

//mw.loader.load('/w/index.php?title=User:LR Guanzon/test.js&action=raw&ctype=text/javascript'); });