Search code examples
javascriptjdownloader

How can a website check if a application is running on my pc


Today I've visited a website which allows to download files using the JDownloader. There was this image on the website:

enter image description here

That image changes to this picture if my pc is running the JDownloader client:

enter image description here

Now my question is: How can this website know, that this application is running on my computer? I can't think of a way to do it.


Solution

  • It looks like JDownloader runs an HTTP server on your local machine and makes the URL http://127.0.0.1:9666/jdcheck.js available, which can then be used to check that it is running. See here:

    http://jdownloader.org/knowledge/wiki/glossary/cnl2#check-if-jdownloader-is-running