User:OttoLannister550/common.js

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

//Preventing Button with URL Link from Opening in New Tab $(function {	var button = document.querySelectorAll('.open_on_same_tab a');	for (var i = 0; i < button.length; i++) {		button[i].target = '_self';	} });

//Preventing Image Compression $(function {	var i, imageSrc;	var image = document.querySelectorAll('img.uncompressed__img');	for (i = 0; i < image.length; i++) {		imageSrc = image[i].src;		image[i].src = imageSrc.replace(/\/revision\/.*$/g,'');	} });