Squareup remove blank space at bottom of pages.

Square has what seems to be a mostly useless element that takes up room for no reason on the bottom of most of their pages.... I myself had 0 issues at least so far. Do better Square.

// ==UserScript==
// @name         Squareup remove blank space at bottom of pages.
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  Square has what seems to be a mostly useless element that takes up room for no reason on the bottom of most of their pages.... I myself had 0 issues at least so far. Do better Square.
// @author       ChatGPT
// @author       NickTh3M4l4chi
// @match        https://*.squareup.com/dashboard/*
// @grant        none
// ==/UserScript==


(function() {
    'use strict';

    // Function to add custom CSS
    function addCustomCSS() {
        var style = document.createElement('style');
        style.type = 'text/css';
        style.innerHTML = `
            #market-icon-sprite {
                display: none !important;
            }
        `;
        document.head.appendChild(style);
    }

    // Add the custom CSS when the DOM is fully loaded
    window.addEventListener('load', function() {
        addCustomCSS();
    }, false);
})();