Dev sets up “goatse” trap for sites that steal his free web game
Dev sets up “goatse” trap for sites that steal his free web game
Thieving iFrame sites now say: "I steal other people’s code because I’m a total hack."
Dev sets up “goatse” trap for sites that steal his free web game
Thieving iFrame sites now say: "I steal other people’s code because I’m a total hack."
You're viewing a single thread.
I'd love to see the code as implemented for the iframe feature. Sounds like a good way to protect your intellectual property.
The only thing that comes to mind is to rugpull. So you move the game to another location in your site, and in the old URL you put the troll image. It may be an issue with people with bookmarks tho...
Use the Referer header to check what domain the browser is loading from. You can also check the connection origin IP to see if it’s a site you know to be scraping you (i.e. not hotlinking but caching). Could possibly also check the User-Agent header to detect scrapers, depending on if they bother to forge it or not.
Yup, it's pretty easy to detect a cross origin request and serve something different based on that.