Changing the User Agent of the SiteKiosk Windows Chrome Browser

To complement the 2013 blog post about changing the user agent string for the IE engine of SiteKiosk we will look at doing the same for the Chrome browser engine of SiteKiosk.

Please note, that you can easily add information to the standard user string by using the configuration options of SiteKiosk. Just go to Start Page & Browser -> Chrome Browser -> Customize -> Settings. There you can add SiteKiosk to the user agent header and also a freely customizable string that by default adds the Windows name of the computer ($ComputerName).

If you do not just want to add something to the default user agent you can open your SiteKiosk configuration with an editor. You will find a default setting that looks like this:

"userAgent": {
	"enabled": false,
	"full": "",

Using the default setting will result in something like this (depending on the SiteKiosk version used), when opening the W3Schools test page:

You can change the default values to this:

"userAgent": {
    "enabled": true,
    "full": "Whatever you want SiteKiosk to use as user agent string",

The attribute full is a string that you can copy a standard current or old Chrome user agent string to or any other existing or made up user agent string. Be aware that doing something like this can lead to problems on webpages, as they then assume a browser engine that in reality is not available, causing possible rendering issues.

The effect you will receive from doing the above change can be seen on the W3Schools page again: