850

"It has been one of my greatest achievements as a dev".

you are viewing a single comment's thread
view the rest of the comments
[-] IHeartBadCode@kbin.social 413 points 8 months ago* (last edited 8 months ago)

"The mature and responsible thing to do would have been to add a content security policy to the page", he wrote. "I am not mature so instead what I decided to do was render the early 2000s internet shock image Goatse with a nice message superimposed over it in place of the app if Sqword detects that it is in an iFrame."

I submit the Internet axiom of: there's times and places for a measured and reasonable response, and the other times are funny af.

Let this be a lesson to you—if you are using an iFrame to display a site that isn't yours, even for legitimate purposes, you have no control over that content—it can change at any time. One day instead of looking into an iFrame, you might be looking at an entirely different kind of portal.

Bravo.

[-] phx@lemmy.ca 135 points 8 months ago

Also, the iFrame is particularly asshole'ish in that the original author's site is still out the bandwidth for content, but somebody else is making money off it.

I fully support his response. Personally, I'd love to see the same done to certain scraper-bots

load more comments (3 replies)
this post was submitted on 23 Oct 2023
850 points (99.0% liked)

Technology

55690 readers
3446 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS