Using customsettings.js |
Top Previous Next |
The customsettings.js file is distributed with the installation of Thinfinity® Remote Desktop Server. You will find this file in the 'webrdp' folder in the Thinfinity® Remote Desktop Server installation directory.
customsetings.js is a javascript file that contains javascript code which is read by the client's browser when they access Thinfinity® Remote Desktop Server and then communicates with Thinfinity® Remote Desktop Server to send information, like toolbar parameters. You can open it with any text editor, like notepad.
The initial values include the createToolbar and toolbarVisible parameters. Change their value to false/true following the format.
The double slash indicates a comment, and the text that follows is not considered code —as long as it is on the same line. You can use comments to write notes next to the parameters in customsettings.js
In these examples, the comments are being used to describe the functions and to reference the name options have in the Thinfinity® Remote Desktop Server toolbar for users.
If you want to add the toolbarRestrictions parameter, add a comma after the last parameter (in this case toolbarVisible) and include in the toolbarRestrictions list only the buttons you want to be excluded from the toolbar. Follow the following format:
When you are done, close the file and save the settings. Don't change the file's location. The changes will be taken by Thinfinity® Remote Desktop Server immediately. Remember that settings in customsettings.js file will override those in the connect method.
The toolbar customization is not the only thing you can do with customsettings.js. Read more about all the parameters you can include in Custom Settings. |