Maximize width on iKVM/HTML5 & Get rid of Java popup!

Discussion in 'Guides' started by mb300sd, Sep 13, 2019.

  1. mb300sd

    mb300sd Active Member

    Joined:
    Aug 1, 2016
    Messages:
    191
    Likes Received:
    67
    Having to scroll sideways always bothers me. I made this little script that removes the whitespace on Supermicro's interface to get maximum screen real estate without scrolling sideways.

    Use with Tampermonkey extension for Chrome.

    Code:
    // ==UserScript==
    // @name         IPMI Width
    // @namespace    http://mb300sd.net/
    // @version      0.1
    // @description  Removes margin on IPMI
    // @author       mb300sd
    // @match        https://*/cgi/url_redirect.cgi?url_name=man_ikvm_html5_bootstrap
    // @match        http://*/cgi/url_redirect.cgi?url_name=man_ikvm_html5_bootstrap
    // ==/UserScript==
    
    (function() {
        var container = document.getElementsByClassName("container")[0];
        container.style = "margin:0px; width:100%;"
    
        var jumbotron = document.getElementsByClassName("jumbotron")[0];
        jumbotron.style = "padding: 10px;"
    })();
    
    Before:
    [​IMG]

    After:
    [​IMG]
     
    #1
    Last edited: Sep 13, 2019
    vanfawx, raiderj, StevenDTX and 3 others like this.
  2. mb300sd

    mb300sd Active Member

    Joined:
    Aug 1, 2016
    Messages:
    191
    Likes Received:
    67
    Just figured out how to get rid of the annoying install Java popup on older versions.

    Add this as a custom filter to uBlock

    Code:
    ||YOUR_IPMI_IP_ADDRESS/js/deployJava.js$script,first-party
    
     
    #2
    cesmith9999 and StevenDTX like this.
  3. mb300sd

    mb300sd Active Member

    Joined:
    Aug 1, 2016
    Messages:
    191
    Likes Received:
    67
    Better version of the anti Java popup that doesn't break loading the summary page.

    Code:
    YOUR_IP_ADDRESS##+js(set, deployJava.versionCheck, trueFunc)
    Also found that Intel boards use the same <ip>/cgi/url_redirect.cgi?url_name=... urls, so I assume they use the same BMC chips. It should be applicable to them if the firmwares aren't too different.
     
    #3
    Last edited: Sep 26, 2019
    cesmith9999, Blinky 42 and TommyL like this.

Share This Page