IP Location Finder

Finds the geographical location of IP addresses on a page.

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
Yanel85
日安装量
0
总安装量
40
评分
0 0 0
版本
1.4
创建于
2025-01-04
更新于
2025-02-22
大小
11.3 KB
许可证
GPL3
适用于
所有网站

02.jpg

IP Location Finder

00 A Chrome extension that identifies the geographic location of IP addresses on a webpage.

Features

2

  • Automatic IP Detection: Automatically detects IP addresses (IPv4 and IPv6) when you select text on a webpage.
  • Geographic Location: Displays the country and city (when available) associated with the selected IP address.
  • Flag Icon & Country Code: Displays a flag icon and country code alongside the location information.
  • Flexible API: Uses an external API for IP geolocation lookup, with customizable API options in the extension's settings.
  • Clean Display: Displays the location in the format: (FlagIcon CountryCode, City). If city is unavailable, only shows (FlagIcon CountryCode).

Installation

  • Offline install :
  1. Download Releases.
  2. Open Chrome browser and navigate to chrome://extensions/.
  3. Enable "Developer mode" in the top right corner.
  4. Click "Load unpacked" and select the extension directory.
  5. The extension will now be installed.

Usage

  1. Navigate to any webpage.
  2. Select text that contains an IP address (IPv4 or IPv6).
  3. The IP location information will be displayed next to the selected text, with a flag icon and the country code and city(if available) in the format (FlagIcon CountryCode, City) or (FlagIcon CountryCode) if city is unavailable.
  4. Click the extension icon to access settings and change the API source.

Settings

You can customize the extension in the popup window:

  • Select API: Choose from a list of predefined API URLs for the IP location lookup. Custom supports.
    • ipapi.co
    • ipinfo.io
    • GeoIpify
    • custom

Third-Party Libraries

  • flag-icons: for flag images.

Contributing

Feel free to fork the repository and submit pull requests with improvements or bug fixes.

License

This code is licensed under the GNU General Public License v3.0. The license text can be found in the LICENSE file.