Gladiatus Tricks

Gladiatus script with small game improvements

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         Gladiatus Tricks
// @namespace    http://tampermonkey.net/
// @version      1
// @description  Gladiatus script with small game improvements
// @author       Aveneid
// @match        *://*.gladiatus.gameforge.com/game/index.php*
// @icon         https://www.google.com/s2/favicons?domain=gameforge.com
// @grant        none
// @require      https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js
// @license MIT

// ==/UserScript==

(function() {
    'use strict';

    function getElementByXpath(path) {
  return document.evaluate(path, document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue;
}

    $( document ).ready(function() {

       if(window.location.href.contains("mod=market")){
           //set 24h listing as default
           document.querySelector("#dauer").value = 3;
       }
        $("#banner_top").css("display","none");
        $("#banner_event").css("display","none");
        $("#banner_event_link").css("display","none");
        $("#cooldown_bar_event").css("display","none");



    });
})();