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

Maven Crash Course - Learn Power Query, Power Pivot & DAX in 15 Minutes

"Data Prep & Exploratory Data Analysis" course by Maven Analytics

Oracle Cloud Infrastructure 2024 Generative AI Professional Course & Certification Exam (1Z0-1127-24)