Warning: fopen(/www/sites/update.greasyfork.icu/index/store/forever/a02e6e8735669798f2c4d1f4be094815.js): failed to open stream: No space left on device in /www/sites/update.greasyfork.icu/index/scriptControl.php on line 65
// ==UserScript==
// @name GGn upload ROM button
// @namespace http://tampermonkey.net/
// @version 1.0
// @description try to take over the world :)
// @author BestGrapeLeaves
// @match https://gazellegames.net/upload.php*
// @icon https://cdn.iconscout.com/icon/premium/png-256-thumb/game-folder-3668558-3054201.png
// @license MIT
// @downloadURL none
// ==/UserScript==
(function () {
"use strict";
const rom = $('');
$("select#miscellaneous").change(function () {
const selected = $("select#miscellaneous option:selected").text();
if (selected === "ROM") {
rom.hide();
} else {
rom.show();
}
});
rom.click(() => {
$("select#miscellaneous").val("ROM").change();
});
rom.insertAfter("select#miscellaneous");
})();