News for hackers. Stuff that matters.
Re:Ask HN: Someone is proxy-mirroring my website, can I do a... by ChrisMarshallNY on Monday December 12, 2022 @09:15AM (#33954800)
How about something like...

    body[href*= "<OFFENDING URL>"] {
        background-image: url("http://goatse..."); 
    }
Ala: http://ascii.textfiles.com/archives/1011
Re:Ask HN: Someone is proxy-mirroring my website, can I do a... by petepete on Monday December 12, 2022 @11:08AM (#33956243)
Or just make the whole page rotate

    body[href*= "<OFFENDING URL>"] {
      animation: rotation 20s infinite linear;
    }

    @keyframes rotation {
      from {
        transform: rotate(0deg);
      }
      to {
        transform: rotate(359deg);
      }
    }
Re:Ask HN: Someone is proxy-mirroring my website, can I do a... by hbn on Monday December 12, 2022 @11:13AM (#33956303)
We're trying to punish the people running the proxy mirror, not the users who stumble upon them just trying to use the site
Re:Ask HN: Someone is proxy-mirroring my website, can I do a... by LawTalkingGuy on Monday December 12, 2022 @01:09PM (#33957960)
You could look at it as trying to get them blocked by search engines. Can you detect when they're proxying a search bot as opposed to a user? As for punish, you don't have to make it eye-bleach, just enough to make it firmly NSFW so nobody can get any business value from it, or even use it safely at work.

A little soft NSFW would also greatly accelerate them being added to a block list, especially if you were to submit their site to the blocklists as soon as you started including it. You can include literally anything that won't get you arrested. Terrorist manifestos, the anarchists cookbook, insane hentai porn... Use all those block categories - gore/extreme, terrorist, adult, etc.

Re:Ask HN: Someone is proxy-mirroring my website, can I do a... by ChrisMarshallNY on Monday December 12, 2022 @11:56AM (#33957011)
In that case, write some JS, that wanders around the Hubble site, randomly downloading full-res TIFF images for the background, or that randomly displays Disney images.