User:Nixinova/common.js

// 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 // Mobile: (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; });	} });

// Please change your name let elements = document.getElementsByClassName('mw-userlink'); for (i = 0; i < elements.length; i++) { if (elements[i].title==="User:User-12316399") { elements[i].children[0].textContent = "MinecraftPhotos4U" } }