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.
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.
iframes can do all sorts of stuff if they’re not properly sandboxed — additionally, they leak visitor ips so i’m not going to be doing iframes
that’s what i’m saying. there could be a run without scripts button and a run with scripts button
for the ip issue, you should add a check frame source for the user to check if it is tracking your ip, as well as virus check the embedded code for viruses
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?
right but that would break every useful iframe in existence
there should be a run with scripts and a run with no scripts button