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 for the Wiki's Images $(function {	var image = document.querySelectorAll('.mw-parser-output :not(.mw-parser-output) img');	for (var i = 0; i < image.length; i++) {		if (image[i].parentNode.className.search('video-thumbnail') == -1) {			image[i].src = image[i].dataset.src = '/wiki/Special:FilePath/' + image[i].dataset.imageKey;		}	} }); //image[i].src.search(/\/towerofgod\//) != -1 &&