set_platform
set_platform($platform="",$cpuClass=""); - set platform data in the JS engine. (Available from version 4.10.1)
The function accepts parameters as input:
$platform – platform (navigator.platform) - when passing an empty string - the default value is used$cpuClass – processor class (navigator.cpuClass) - when passing an empty string - the default value is used
After testing, the function returns the result of its work to the script :
true – successfully setfalse – failed to set