-5

I found most code editors have a "Embed on your page option", I think it would be great if you could embed <iframes> in answers and questions.

1
  • OK i see now its a bad idea Commented Aug 25, 2014 at 4:58

1 Answer 1

10

I don't think this is a good idea. <iframe>'s in most cases load external content and run into the similar problem link only answers do. The external content can go dead, and the content is lost forever. Why not just bring that content into the Stack Exchange ecosystem instead of hosting it elsewhere?

Not to mention the issues with loading external resources over SSL. And as iStimple mentions, Stack Exchange can't control what is being loaded via that iframe (think drive by downloads, or alert popups).

3
  • 2
    yeah i see what you mean, it would be a bad idea!. Commented Aug 25, 2014 at 3:21
  • or mature content that only shows to 1% of the viewers (so that any potential offensive flags will be invalidated with 99% probability) Commented Aug 25, 2014 at 7:36
  • Was just thinking if stackexchange can allow embedding iframes that have stakexchange page as source. So, basically stackexchange need an editor which will filter / preprocess what can be embedded. Something like image uploader which uploads image to imgur. But, instead of directly uploading iframe source page to stackexchange, it will preprocess / filter it before uploading source page. Another simple approach may be selectively allow famous source domains, like desmos for graphs. This will eliminate eliminate hassle of first apporch and can quickly grow list of allowed source domains.
    – Mahesha999
    Commented Aug 10, 2021 at 16:55

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .