User:OttoLannister550/common.js

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:ImageMapHighlight.js',    ] });

$(function specialButton {	var targetSelf = document.querySelector('.open_on_same_tab a');	targetSelf.target = '_self'; });

$(function uncompressedImage {	let img, i;	img = document.getElementsByClassName('uncompressed__img');	for (i = 0; i < img.length; i++) {		var imgCompressedSrc = img[i].src;		var imgUncompressedSrc = imgCompressedSrc.replace(/\/revision\/.*$/g,"");		document.getElementsByClassName('uncompressed__img').src = imgUncompressedSrc;	} });