
Which gives me the error Cannot read property 'sendNativeMessage' of undefined.

I then call from my onClick() function: var port = ('') I have also created my registry entry to correspond to my manifest file above. "path": "C:\\Program Files (x86)\\Teamviewer\\TeamViewer.exe", My other thought was to try and call the command C:\Program Files (x86)\TeamViewer\TeamViewer.exe -i -Password from some sort of chrome NativeMessaging extension, but I can't seem to get this working. This therefore, is a time consuming solution and not really the ideal approach.


I have attempted to call from a URL and pass in the device id, which does in fact work (not seamlessly as it always opens up a new tab), however, the user is prompted everytime for their AD credentials, despite the fact that we have set pre-entered passwords on a lot of our hosts. However, this has proposed issues and seems a lot more complicated than I first anticipated. I was hoping to integrate a TeamViewer button into my Web Application that allowed my users to initiate a remote connection to a pre-defined host using their local instance of TeamViewer installed on each user's computer.
