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
133 stars 35 forks source link

Add PTR to title #39

Closed darnux closed 6 years ago

darnux commented 6 years ago

Hi, I just discovered your addon and I really like it. One thing I would suggest is to add the PTR of the IP on the title tab (when you hovering the flag icon).

Do you execpt BTC/ETH/LTC/... as donation also?

andy-portmen commented 6 years ago

do you mean the PTR Record? How can we get that?

Do you execpt BTC/ETH/LTC/... as donation also?

There is a link for BTC in the FAQs page if you prefer that.

darnux commented 6 years ago

do you mean the PTR Record? How can we get that?

Yes correct. On a terminal you could run host [IP_ADDRESS] our the information can be extracted from tcpiputils.com also. Maybe this module can do the trick?

https://www.npmjs.com/package/ip-ptr

andy-portmen commented 6 years ago

Okay so as of the next release, you can run any custom OS level command after a flag for a tab is resolved. For your case you can run host [ip]. The output of this command will be appended to the tooltip.

screen shot 2017-11-28 at 4 45 29 pm