OemBrowser Internal function calls

To keep its size and resources requirement down, and for maximum security, OemBrowser does not support any scripts languages. However, OemBrowser provides some useful Internal functions which can be easily integrated into your HTML files.

Please note, the following examples will only work if you open this file in OEMBrowser:


"_blank":  Open URL in a new window

e.g. Click here to open website in a new window

Source: <A HREF="http://www.faico.net" target="_blank">Click here to open website in a new window</a>



"externaldoc": Open URL in the default browser on the user's machine

e.g. Click here to open website in default browser (e.g. MSIE)

Source: <A HREF="http://www.faico.net" target="externaldoc">Click here to open website in default browser (e.g. MSIE)</A>



"closewindow":  Close the current window of OemBrowser

e.g.Click here to close this window

<A HREF="http://localhost" target="closewindow">Click here to close this window</A>



"backdoc":  Browse back to previous document in history

e.g.Previous Page

<A HREF="http://localhost" target="backdoc">Previous Page</A>



"nextdoc":  Browser forward to next document in history

e.g.Next Page

<A HREF="http://localhost" target="nextdoc">Next Page</A>





ERROR PAGES (404 URL not found)

OemBrowser allows you to easily define your own "URL not found" error pages.



Simply create a file called "error.html", and place it in the same directory

as oembrowser.exe. This file will be loaded if an URL can not be found.



Click here to test 404 error page

(loads up error.html in the .exe directory)






Command line parameters:

You can start OemBrowser with the following command line parameters:

1) /home=
Set the first load page upon the start of OemBrowser.
e.g.
/home=c:\example.html or
/home=www.yahoo.com or
/home=http://www.yahoo.com

2) /cdrom
Disable writing of .ini file, cache and cookies.

3) /cache
Control Cache
/cache=on
/cache=off
/cache=temp
(so to store the cache under windows temporary directory)

e.g. To load up Yahoo upon start, turn cache off and no INI writing:
oembrowser.exe /home=http://www.domain.com/ /cache=off /cdrom