MIB web browser open to the world

From MIB-Helper.com Wiki
Revision as of 23:02, 7 April 2025 by Mr-fix (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

There are two (known to me) usages of the built-in web browser in MIB: boardbook and license viewer. Both use offline static html files to display content. But those can be easily modified to get access to the world-wide web.

Boardbook

Boardbook html mod to alter the original boardbook and inject it into a non-modified system.

But it looks like it's also possible to simply change the path to the boardbook directory by adding a parameter to the LSD start script:

VMOPTIONS="$VMOPTIONS -DBoardbookInfoFilePath=/mnt/boardbook/"

License Viewer

Here's part of the code that loads the license

private String getFilePath(String string) {
 Buffer buffer = new Buffer();
 buffer.append("/eso/browser/public/license");
 if (string != null && string.length() > 0) {
  buffer.append("-");
  buffer.append(string);
 }
 buffer.append(".html");
 return buffer.toString();
}

Now we know where to look for the .html file - it should be in the /eso/browser/public/license directory.

License Viewer web access test

MIB2 License Viewer accessing SilesiaRing lap times
MIB2 License Viewer accessing SilesiaRing lap times

It works! Adding a simple line like <a href="#">click here</a> with a target website will easily navigate the web browser to the www.