IP Lookup Bookmarklet that calls a REST API to fetch geolocation details for a given IP address

I found a neat bookmarklet that calls a REST API to fetch geolocation details for a given IP address. The original source used an external service that serves JSON output over HTTP only. 

As Chrome is more stringent about mixed content, the HTTP call was blocked and the desired output wasn't achieved.

I changed just one line of the bookmarklet code to use the IPAPI lookup service to get it working again.

Drag this link to the Bookmarks bar or Favorites bar in Chrome or Edge - IP Lookup

To view geolocation details, selecting an IP address on any web page & then click on the bookmarklet or provide the IP address through prompt box that shows up.

Comments

Popular posts from this blog

Websites that track traffic in Indian cities

HOW TO dynamically generate a Word document with custom header & footer

Search all your ebooks with a keyword by putting them on Google Drive