HTML5 Client: How to maximize the browser window


The RDP protocol does not allow to resize while connected without a reconnection.

Please note that you will get the best experience possible from Terminal Service Plus HTML5 client by connecting with a maximized browser.

However, if you want to force the browser window to be as big as possible, you can try to "force" the HTML5 window to open with the maximum size (but not as a "maximized" window, due to internet browsers security limitations).

Maximizing the browser window

You will have to modify the file "Clients\www\software\common.js" located in your Terminal Service Plus directory. We advise you to use a text editor such as Notepad++ (do not use Word).

In order to have a browser window which uses all the screen, you will have to modify the line(s) with "" in it, and add the following text:

, "screenX=0,screenY=0,left=0,top=0,fullscreen=yes,width="+(screen.availWidth-5)+",height="+(screen.availHeight-(55))

This allows IE/Chrome/Firefox/Safari to open the window with a screen size (minus Windows bar). Unfortunately it is not possible to force a web browser to "maximize" the window in a "fullscreen" Windows meaning.

Open the file and search ""

Then add the new at the end before the brackets, for example: + jwtsclickLinkBefore(getside(), p), window.opforfalse);

will become: + jwtsclickLinkBefore(getside(), p), window.opforfalse, "screenX=0,screenY=0,left=0,top=0,fullscreen=yes,width="+(screen.availWidth-5)+",height="+(screen.availHeight-(55)));

And again:

tmpwin =, '_blank'); //Chrome needs _blank

will become:

tmpwin =, '_blank', "screenX=0,screenY=0,left=0,top=0,fullscreen=yes,width="+(screen.availWidth-5)+",height="+(screen.availHeight-(55))); //Chrome needs _blank

And again:

success =, k);

will become:

success =, k, "screenX=0,screenY=0,left=0,top=0,fullscreen=yes,width="+(screen.availWidth-5)+",height="+(screen.availHeight-(55)));

And finally :

cpwin ="about:blank", n);

will become:

cpwin ="about:blank", n, "screenX=0,screenY=0,left=0,top=0,fullscreen=yes,width="+(screen.availWidth-5)+",height="+(screen.availHeight-(55)));

Discover all TSplus features »