MIB web browser open to the world: Difference between revisions

From MIB-Helper.com Wiki
Jump to navigation Jump to search
Line 21: Line 21:
  }
  }


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

Revision as of 23:00, 7 April 2025

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.