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:

  • Boomer Humor Doomergod
    link
    fedilink
    English
    arrow-up
    2
    ·
    20 hours ago

    curl ifconfig.me

    Not sure about Linux, but on a Mac you can put it on your clipboard with

    curl ifconfig.me | pbcopy

      • Victor
        link
        fedilink
        arrow-up
        2
        ·
        19 hours ago

        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.

        • forestbeasts@pawb.social
          link
          fedilink
          arrow-up
          2
          ·
          14 hours ago

          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.

          • Victor
            link
            fedilink
            arrow-up
            2
            ·
            10 hours ago

            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. 👍