Let's say I've got a website that works better if a client has installed and logged into a desktop application. I'd like to be able to do 2 things:
- Alter the website if they haven't installed the app (to make it easy for them to find a link to the installer)
- If they've installed the app on a couple of machines, determine which machine they are browsing from
I'd like something that works on Windows and OSX, on any of the major browsers. Linux is a bonus.
A few thoughts:
- Websites can detect if you've got Flash installed. How does that work and could it be used for both of my goals?
- Could I just let the client serve HTTP on localhost and do some javascript requests to fetch a local ID? I know google desktop search did something like this at one point. Is this a standard practice?
Thanks!