Skip to main content
entangled.one
← back to posts

tri is so smart for this

<iframe> β€” the minimal viable embed 😈 πŸ˜‡

some notes:

  • with JS, it is possible to detect if a webpage is loaded in an iframe. so theoretically i could apply some custom styles to my own posts if they're in an iframe!
  • Natalie's h-entry explainer has relevant things on more "properly" embedding other people's posts, and making your own posts embeddable. (it seems straightforward! i have not yet taken the time to follow through other than adding the classes on my own posts, which did not take much time at all. ok i thought i did that, i was literally chatting with bcj when i did that… but the commit does not exist. wtf. ok will fix later πŸ‘)
  • i was also kind of so smart for a related idea (which, once again, seems So Simple that i figure it has prior art)
  • postscript: tri also made a followup post with some tips and tricks!!

yeah i enjoy coffee... wait... we already knew this.

leave a comment

i'm sure you have something important to say!