Click here to Skip to main content
15,890,947 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
My requirement is when my page load then java script detect an application is installed or not on client machine if application is not installed then open a pop up to download application if application is installed no popup will come

What I have tried:

I have no idea how to solve it
Posted
Updated 22-Feb-17 2:46am

Quote:
My requirement is when my page load then java script detect an application is installed or not on client

Short answer: Basically, you can't, such action is forbidden for security reasons.
Web pages can't sneak into client computer.
To make client download your app, client have to click on link.
Quote:
Scan and upload documents in browsers | Dynamic Web TWAIN Online Demo[^]
doing the same
After download and installing popup will not come on page refresh

This software is not just a software, it provide a service to the browser, it expand the browser, that is why it can be detected from the browser.
 
Share this answer
 
v2
Comments
Member 10926587 23-Feb-17 2:28am    
https://www.dynamsoft.com/Demo/DWT/online_demo_scan.aspx


doing the same
After download and installing popup will not come on page refresh
You can't do this directly from JavaScript. If you need to detect the presence of an application, you will need an executable running already on the client side. Potentially, you could deploy your application using ClickOnce[^] but this requires the user accepting the app running.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900