1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Javascript/HTML Codes To Show ISP Logo

Discussion in 'Black Hat SEO Tools' started by affiliatewannabe, Jan 18, 2017.

  1. affiliatewannabe

    affiliatewannabe Newbie

    Joined:
    Mar 31, 2016
    Messages:
    3
    Likes Received:
    0
    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?
     
  2. Brian Alexander

    Brian Alexander Regular Member UnGagged Attendee

    Joined:
    Aug 12, 2016
    Messages:
    201
    Likes Received:
    110
    Gender:
    Male
    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.
     
    • Thanks Thanks x 1
  3. cherub

    cherub Regular Member

    Joined:
    Dec 18, 2006
    Messages:
    285
    Likes Received:
    123
    Gender:
    Male
    Occupation:
    Boss
    Location:
    UK
    You can get the user's IP and ISP from here: http://ip-api.com/json
    ...but you'll have to do you own logo mapping