this post was submitted on 23 Oct 2023
843 points (99.1% liked)

Technology

59597 readers
3907 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
 

"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 1 year ago* (last edited 1 year ago) (2 children)

"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 224 points 1 year ago (2 children)

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

[–] IHeartBadCode@kbin.social 40 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 135 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