Basically what I am trying to to is create a list of links of which will link to Spotify using a Spotify URI if Spotify is installed and just plain text if it is not installed.
from my knowledge this:
spotify:track:7yOKhepYf8pO8ILT2Z5KN1
If input into the browser and Spotify is installed it will immediately launch the track or what ever you request.
If Spotify is not installed this just runs a normal browser request.
I have looked in documentation for something I can hook into but I just cant find anything that is usable on an external application, Just to reiterate this application is not a native Spotify application.
What I am looking for as an end result is a method to call that checks if Spotify is installed to return true, if it is not installed return false.
The requirement is using HTML CSS and JavaScript Only.