(another) Beta idea: HTML IFrame Embeds

What if you have just made a scratch game embed and want people to be able to play it, right here, in wasteof, without being redirected to other hosting websites?

Adding an IFrame would be pretty easy, since the posts are in html already.

The button could work like the image button, paste the embed code, and wasteof appends it to your post.

The problem:

Well, the issue with this whole thing is custom made embeds.

They could be made for malicious intent.

The easy fix for that is a button that is like the “there are more nested reposts, tap here to see them” button, but it would instead say, “this post contains embeds, tap here to see them (doing so is at your own risk)

The only reason to add this is user convenience. But that’s the whole point. Wasteof is supposed to be convenient.

@jeffalo

comments (single view)

A better and easier fix for it would be the sandbox attribute. You can disable scripts with it

right but then scratch projects wouldn’t run at all, nor other embeds

like are you talking about a run with no scripts button?

@lankybox01

no, it completely disables running scripts ifrom iframes

right but that would break every useful iframe in existence

there should be a run with scripts and a run with no scripts button

View all comments