If you want to execute some javascript at boot time (when WoaS is loaded into the browser), you should modify the
WoaS::Bootscript page by clicking the
Special::Edit Bootscript link in the
Advanced features section of the
Special::Advanced page.
Be careful not to break javascript execution during this stage; in order to debug your boot-time javascript, you might use blocks like:
try {
your_code(here);
}
catch (e) {
alert(e);
}
The Bootscript can be used to override WoaS core functions in order to replace them with customized functions which finally call the overriden function or perfectly emulate its behaviour.
The WoaS JavaScript API is not yet specified.