Get your cohost iframes (chiframes even) here:
Get your cohost iframes (chiframes even) here:
we've been talking about this internally since you posted it and (for you and for anyone else using chiframes) @staff wanted to post a semi-official update on how we feel about it:
nothing else to announce right now, though.
It might be a good idea to allow iframes with a hardcoded sandbox attribute to prevent modals and redirecting the top level page and stuff, I can add one to the inner frame on chiframe.tumblr.com too to block that stuff now for people using chiframe.
that'd be great. we were thinking about allowing iframes with sandbox="allow-scripts" as a long-term solution.
I added a sandbox attribute and also an additional consent screen for each domain :)
That extra consent screen is very nice - good to know I can use these without feeling like I'm Subverting the Website!
just put my game on cohost with this.. got damn. sadly most of my games have a pretty huge resolution so the screen gets cut off a bit but. God Damn!
ohh,, thank you !! iwill mess with this in a bit... right now im messing with trying to get my game unitres dreams working on cohost... its only on itch.io and i dont know how to properly embed newgrounds games so i have to deal with uploading it to itch which is giving me trouble right now...
ohh this is from a year ago lol but just noting here that the iframe gets cut off on mobile
might it be worth adding a little something for better fallback content (other than a link to the settings page for turning on embeds) so these don't end up outright hiding content from people who'd rather keep embeds off? i did something like that by hand in this post https://cohost.org/lifning/post/4226889-here-s-an-example-of but it probably doesn't have to be anything so elaborate - just a clickable link to the original iframe URL too, next to the one to the settings page, would do wonders