User:Nixinova/common.js

// Test scripts $(document).ready(function {   let pagelink = $('#mw-mf-diffarea a[href*="oldid"]');    pagelink.after(`&emsp;(View page)`); });

// 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');

/*// 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; });	} });//*/

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