Javascript/HTML Codes To Show ISP Logo

Joined
Mar 31, 2016
Messages
24
Reaction score
3
I want to promote an email submit an offer, and I want the viewers to see the logo of their mobile phone/internet provider. Do you guys know if there are specific javascript and HTML codes that I can use?
 
You're definitely not gonna find some magic bullet JS library to solve this.
Here's why:

Getting the IP:
You can't get the IP through JS - it can, however, easily be retrieved by a server.
So if you simply made an API call to some webservice to retrieve the request IP you'd have it.

Getting the ISP:
Anyways, to get the ISP of the user you'd need to query some sort of geolocation database.
To use them you'd usually need a paid subscription unless you want to use outdated databases.

Getting the corresponding LOGO of the ISP:
Finally you'd need to map every ISP to an image, which probably would need to be done manually.
 
Back
Top