User:Nixinova/common.js

//

// Load user scripts mw.loader.load('/index.php?title=User:Nixinova/version-autocorrect.js&action=raw&ctype=text/javascript'); mw.loader.load('/index.php?title=User:Nixinova/Newest_article.js&action=raw&ctype=text/javascript'); mw.loader.load('/index.php?title=User:Nixinova/FTB_note.js&action=raw&ctype=text/javascript');

// Search $(function {	if (!location.href.includes('&ns%5B0%5D=')) $('[title="Search all of content (including talk pages)"')[0].click; });

// Custom title shortcuts window.shortcut_replacements = [ ['^\\bje\\b', 'Java Edition '], ['^\\bbe\\b', 'Bedrock Edition '], ['^\\bee\\b', 'Education Edition '], ['^\\bnn\\b', 'User:Nixinova'], ['\\bpd\\b', 'Pending deletion'] ]; mw.loader.load('/index.php?title=User:Nixinova/namespace-shortcuts.js&action=raw&ctype=text/javascript');

// One-click archiver mw.loader.load("//en.wikipedia.org/w/index.php?title=User:Technical_13/Scripts/OneClickArchiver.js&action=raw&ctype=text/javascript");

// JS Wiki Browser mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Joeytje50/JWB.js/load.js&action=raw&ctype=text/javascript');

/*// Rollback confirmation Special:Diff/1312156 (function {	if(/Android/i.test(navigator.userAgent)) {		$(".mw-rollback-link").on('click', function(e) { var linkText = $(e.target).text, count = linkText.match(/\d/) ? linkText.match(/\d+/)[0] : null, message = 'Rollback ' + (count ? count + ' edits' : 'edit') + ' by ' + mw.util.getParamValue('from',e.target.href) + '?'; if(!confirm(message)) return e.preventDefault; });	} });//*/