2

I am sending a custom mail to the users via Gmail which includes the following button code

<a href="">launch</a>

on the click of the button, I need to open a locally installed application like TeamViewer. I don't have access to the user system for Registry editor entries. Is this possible? Thanks in advance.

Hitesh
  • 157
  • 3
  • 14
  • try something like this: window.open("data:x-application/myapp;,12345"); – Pranav Dec 30 '19 at 13:23
  • You have mentioned, locally installed application like 'TeamViewer', what other applications are you targeting? – Code_Ninja Dec 30 '19 at 13:27
  • [ActiveXObject](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Microsoft_Extensions/ActiveXObject) – Abhishek Pandey Dec 30 '19 at 13:36
  • @Code_Ninja We need to open our custom windows application for simplicity have given the example of TeamViewer. – Hitesh Dec 30 '19 at 15:36
  • Does this answer your question? [How do I register a custom URL protocol in Windows?](https://stackoverflow.com/questions/80650/how-do-i-register-a-custom-url-protocol-in-windows) – Progman Dec 30 '19 at 17:51
  • @Progman I don't have access to the user systems to create a new key in Registry editor. – Hitesh Dec 31 '19 at 05:20
  • @AbhishekPandey ActiveXObject is only supported via IE and I am looking for a cross-browser solution. – Hitesh Dec 31 '19 at 05:40
  • @ObnoxiousNerd window.open("data:x-application/myapp;,12345"); didn't work – Hitesh Dec 31 '19 at 05:49
  • 3
    I guess For security purposes, browsers are not allowed to open any application in user OS – Abhishek Pandey Dec 31 '19 at 06:19

0 Answers0