andy-portmen / country-flags

adds a toolbar button to browser address-bar displaying current physical location of visited website
https://webextension.org/listing/country-flags.html
Mozilla Public License 2.0
137 stars 35 forks source link

IP Whois improvement #1

Closed ghost closed 7 years ago

ghost commented 7 years ago

Hi,

Country Flags & IP Whois 0.1.2 on Firefox 51.0.1 (x64)

There are many Whois sites on the market. The one chosen for Country Flags & IP Whois 0.1.2 is isc.sans.edu I propose to change it (as I did) to tcpiputils.com

For two reasons, 1- If isc.sans.edu is accessed with a reasonable delay, on another hand it's quest of IP Whois resolution is excessively slow; 2- IMO tcpiputils.com is far more complete than isc.sans.edu

To achieve this here I took the liberty of modifying for myself only of course:

[User profile]\extensions\{802a552e-13d1-4683-a40a-1e5325fba4bb}\common.js
Line 140 : 
Replace 
https://isc.sans.edu/ipinfo.html?ip=
with
http://www.tcpiputils.com/browse/ip-address/

Works fine, excellent Whois and fast access

andy-portmen commented 7 years ago

Thanks. Will have this new one on the next release