I know that a lot of VPN users have it as a homepage to their browser, that is why I wanted to publish this warning.
You can replace it with:
I know that a lot of VPN users have it as a homepage to their browser, that is why I wanted to publish this warning.
You can replace it with:
curl ifconfig.meNot sure about Linux, but on a Mac you can put it on your clipboard with
curl ifconfig.me | pbcopyxh ifconfig.me | wl-copy👍
Oookay, I guess it detects the user agent and only sends the IP number when it detects curl. Using xh did not work as intended.
Huh. Is it going by user-agent or something? Weird.
Our own tiny one goes by the Accept header. If xh sets that to text/html you’ll get an HTML webpage though.
Some sites go by that, some go by user agent. I believe xh can fake it’s user agent, if I’m not mistaken.
A good compromise would be to go by known user agents, but also heed the accept header. 👍