Reputation: 2101
Is there a way to identify the browser based on web-push-notification endpoint url?
I would like to add a list of endpoints to the user settings page, so he could see what devices are connected and remove the ones that he does not need, but all I have is the endpoint (and auth data) in format like this one:
I would like to convert it to something like:
Is there any way I could do it, or do I need to collect this data in advance? I know I can get the browser form domain, but is there any list that contains all of the possibilities?
Upvotes: 0
Views: 699
Reputation: 10802
I think there's no way to do this without collecting information in advance.
The domain will be the same for the same browser on different platforms.
Upvotes: 1