MIB web browser open to the world: Difference between revisions
Jump to navigation
Jump to search
Created page with "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 == License Viewer ==" |
|||
Line 5: | Line 5: | ||
== License Viewer == | == 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 <code>.html</code> file. |
Revision as of 08:02, 16 March 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
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.