WiseMo Guest Component API
Deployment on the web

Supported browsers

WGuest control comes in two forms:

Embedding in HTML

To place WGuest control on a web page insert these lines where you want it to appear:

<object id="wguestIE" classid="clsid:63511059-B465-43fc-8D09-23DE91071CB2" codebase="WGuestX.cab" height="700" width="1100" border="0">
<embed id="wguestFF" type="application/npwguest" pluginspage="npwguest.xpi" height="700" width="1100" border="0">
</object>
Note
Firefox and most browsers will use inner embed tag and Internet Explorer will use outer object tag.
You will need to know this when you script the control. Consider this:
wguestIE.HostAddress = "some.host.url"; // works in IE
wguestFF.HostAddress = "some.host.url"; // works in Firefox
wguest = document.getElementById(document.all ? "wguestIE" : "wguestFF");  // document.all is defined in IE only
wguest.HostAddress = "some.host.url"; // works everywhere

Another approach is to create either embed or object element dynamically.

Web folder in distribution

WGuest distribution has Web folder.
You may find it at %ProgramFiles%\WiseMo\WiseMo RSM\Guest Component\Web if you have not changed installation path.

It contains various files to allow for Web deploying of the control.

WGuestX.cab - ActiveX, packed as Microsoft .CAB package
npWGuest.dll - Netscape plugin
npWGuest.xpi - Netscape plugin, packed as Firefox extension
wguest.html - sample html page embedding WGuest control
wguest_version.js - current version and other attributes, you might need it to create WGuest elements dynamically 

WGuest trusted sites

WGuest control behaviour is altered when used from site not in the trusted sites list: some operation are not allowed at all, when connecting confirmation dialog pop ups, etc. See WGuest Scripting Security for details.

You can inspect and add to trusted sites list with SiteLockTool utility.

Note
When trusted sites list is modified the digital signature will be invalidated and you will have to resign the control.