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

mb300sd

Active Member
Aug 1, 2016
197
74
28
30
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:


After:
 
Last edited:

mb300sd

Active Member
Aug 1, 2016
197
74
28
30
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
 

mb300sd

Active Member
Aug 1, 2016
197
74
28
30
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.
 
Last edited: