839

"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 410 points 1 year ago* (last edited 1 year 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.

[-] bazus1@lemmy.world 222 points 1 year ago

you might be looking at an entirely different kind of portal.

[-] IHeartBadCode@kbin.social 41 points 1 year ago

Risky click of the day.

[-] Noodle07@lemmy.world 8 points 1 year ago

You are now stinking with portals

[-] phx@lemmy.ca 133 points 1 year 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

this post was submitted on 23 Oct 2023
839 points (98.9% liked)

Technology

59708 readers
1516 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