Expand call window – define call browser and applications
July 2020
If links in the ProCall call window should not be opened with the default browser, but for example with Google Chrome, Mozilla Firefox or Microsoft Edge, you can customize the call window and define the browser.
In general, you can customize the call window using a custom URI (Uniform Resource Identifier) as a call parameter to call not only https: or http: pages, but also other applications.
Some important notes on the procedure and an example are described below for orientation.
The described procedure requires knowledge in programming, configuration and administration and the corresponding authorizations.
Procedure
Generate unique non-public URI
Define a unique and not yet assigned URI that is not publicly known.
To start the Microsoft Edge browser, you can use the URI Microsoft Edge followed by the address bar, e.g. microsoft-edge:https://www.google.com. You then do not need any further steps in the procedure, as this is an integral part of Windows.
URIs that are already used and therefore not available for further use can be found at https://www.iana.org/assignments/uri-schemes/uri-schemes.xhtml.
Format
The format of the URI must follow the scheme from RFC3986 (https://tools.ietf.org/html/rfc3986#section-3.1), i.e. consists of any sequence of letters, digits, plus signs (+), dot signs (.) or hyphen signs (-), starting with at least one letter.
Implement a program or script
Implement the program or script that will launch your browser or application.
Executable
The program or script must be executable on the computer and by the user where the URI is to be used.
The program will be started with the user rights when the URI is opened and will contain the URI as a call parameter.
The program can be used for different URIs at the same time because the whole URI is passed and different actions can be executed based on different URIs.
Registration of the URI and the application to the operating system
To establish the link between the individually defined URI and the program, the link must be made known to the operating system.
Implementation by means of an example: Open alternative browser in a web page
In a web page, an alternative application is to be opened via an individual URI "x-5t4r7my4pp". Use "x-defaultbrowser" to open a web page using the user's default browser.
Example URI
The URI x-5t4r7my4pp (x-startmyapp) has been mapped cryptically to make it harder to misuse. We also register a second URI x-defaultbrowser to open the default browser with any URL.
The example as a web page looks like this.
Download: mylaunchscript.html
Example script
The following example is a Windows batch script that converts our two URIs x-5t4r7my4pp and x-defaultbrowser into program calls.
Download: mylaunchscript.bat
Wichtig wenn die Datei bearbeitet wird
rem **************************************************************************
rem *
rem * WICHTIG: Kodierung des Editors auf Westeuropäisch CP850/OEM850 stellen
rem * WICHTIG: Diese Datei nicht als UTF-8 speichern
rem *
rem **************************************************************************
mylaunchscript.bat
Example registration
The Windows batch script is stored in the folder "c:\Users\Admin\mylaunchscript.bat" and a shortcut is created for the URI "x-5t4r7my4pp" and "x-defaultbrowser" in the Windows Registry. In addition, the initial Internet Explorer security prompt is disabled on behalf of the current user and the two URIs.
Download: mylaunchscript.reg
mylaunchscript.reg
Additions
Proactive disabling of the security prompt in Microsoft Internet Explorer (ProCall)
The first time you use the URI, a security prompt appears in Internet Explorer:
The following Windows PowerShell script can be used to pre-check (and thus answer) the security prompt "Always confirm before opening this address type" for a Specific User ($env.USERNAME) in the administrator's context. Alternatively, HKEY_CURRENT_USER can be used in the context of the user (see mylaunchscript.reg example above).
disableiequestion.ps1