Demo search engine
<div>
Here are the informations gathered about your web browser:<br><br>
<script>
toutou.require("toutou.utils.browser");
var browserInfo = toutou.utils.browser;
toutou.require("toutou.js.object");
document.write(toutou.js.object.dump(browserInfo, 0, true));
</script>
</div>
Browser information
This demo show the usage of the toutou.js.browser object to get information about the user's browser.
Here are the informations gathered about your web browser:
Description
This demo is very simple. The following lines gather information about the user's browser and stores them in an object:
toutou.require("toutou.utils.browser");
var browserInfo = toutou.utils.browser;
Then, we use the toutou.js.object.dump function to output
the values stored in the browserInfo object.
var browserInfo = toutou.utils.browser;
toutou.require("toutou.js.object");
document.write(toutou.js.object.dump(browserInfo, 0, true));
The second parameter ("0" in the example) defines how deep the object
must be parsed ("0" means no limitation).document.write(toutou.js.object.dump(browserInfo, 0, true));
The third parameter ("true" in the example) indicates that the output must be written in an HTML context (carriage returns are "<br>").

