CrossBrowdy - Basic tutorial
Current client and its version can be tried to be detected. Here is a simple example:
CB_console("Client name: " + CB_Client.get()); CB_console("* version (full): " + CB_Client.getVersion()); CB_console("* version (main): " + CB_Client.getVersionMain()); //Just the first number.
Note that code execution based on client detection instead of on features detection is normally not recommended and it is often considered a bad practice and also not totally reliable.