User-Agent string.
<script type="text/javascript" src="iuembed.js"> </script> <script type="text/javascript"> var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500); //...other params... iu.addParam("UserAgent", "Image Uploader"); //...other params... iu.writeHtml(); </script>
getImageUploader("ImageUploaderID").setUserAgent(value); value = getImageUploader("ImageUploaderID").getUserAgent();
A string value that specifies User-Agent string which is sent by Image Uploader in the header of the upload request.
Default value is "Image Uploader" (Aurigma Image Uploader JE).
Use the code below to make Image Uploader sending user-agent string the same as of a browser hosting Image Uploader.
iu.addParam("UserAgent", window.navigator.agent);
Pay attention that default value of this property in ActiveX version differs from this value in Java: