MIB web browser open to the world: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(One intermediate revision by the same user not shown) | |||
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. | ||
=== License Viewer web access test === | |||
[[File:MIB2 License Viewer accessing SilesiaRing lap times.jpg|thumb|alt=MIB2 License Viewer accessing SilesiaRing lap times|MIB2 License Viewer accessing SilesiaRing lap times]] | |||
It works! Adding a simple line like <code><a href="#">click here</a></code> with a target website will easily navigate the web browser to the www. |
Latest revision as of 23:02, 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.
License Viewer web access test

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.