this post was submitted on 24 Oct 2023
198 points (100.0% liked)

Games

16689 readers
635 users here now

Video game news oriented community. No NanoUFO is not a bot :)

Posts.

  1. News oriented content (general reviews, previews or retrospectives allowed).
  2. Broad discussion posts (preferably not only about a specific game).
  3. No humor/memes etc..
  4. No affiliate links
  5. No advertising.
  6. No clickbait, editorialized, sensational titles. State the game in question in the title. No all caps.
  7. No self promotion.
  8. No duplicate posts, newer post will be deleted unless there is more discussion in one of the posts.
  9. No politics.

Comments.

  1. No personal attacks.
  2. Obey instance rules.
  3. No low effort comments(one or two words, emoji etc..)
  4. Please use spoiler tags for spoilers.

My goal is just to have a community where people can go and see what new game news is out for the day and comment on it.

Other communities:

Beehaw.org gaming

Lemmy.ml gaming

lemmy.ca pcgaming

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] draughtcyclist@programming.dev 10 points 1 year ago (1 children)

I'd love to see the code as implemented for the iframe feature. Sounds like a good way to protect your intellectual property.

[–] mordack550@lemmy.world 5 points 1 year ago (1 children)

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

[–] 4am@lemm.ee 13 points 1 year ago (1 children)

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.