// ==UserScript==
// @name Gota.io Skins Optimiser
// @namespace https://skins.gota.io/
// @version 1.0
// @description Turns the skin page into dark theme, re-adjusted fonts and added new skin submission features!
// @author alex
// @match https://skins.gota.io/*
// @grant GM_addStyle
// @run-at document-start
// @downloadURL none
// ==/UserScript==
(function() {
'use strict';
window.onload = function() {
function assignClass(classname, arg) {
if (document.getElementsByClassName(classname) == null) return;
document.getElementsByClassName(classname)[0].id = arg;
}
assignClass(`container theme-showcase`, `skinsBg`);
if (window.location.href == `https://skins.gota.io/skin_request.php`) {
let newDiv = document.createElement("div");
newDiv.style = `text-align: center`;
newDiv.className = "form-group";
newDiv.id = "moreInfo";
newDiv.style.color = "white";
newDiv.style.fontFamily = "Montserrat, sans-serif";
document.body.appendChild(newDiv);
document.getElementById(`moreInfo`).innerHTML += `