# Scripts in posts?

**URL:** <https://meta.discourse.org/t/scripts-in-posts/361009>\
**Category:** Support\
**Created:** [April 9, 2025, 6:39am UTC](https://meta.discourse.org/t/scripts-in-posts/361009 "2025-04-09T06:39:17Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)\
**Post date:** [April 9, 2025, 11:24pm UTC](https://meta.discourse.org/t/scripts-in-posts/361009/7 "2025-04-09T23:24:55Z")

</div>

> [@merefield](#):
>
> You could try using an iFrame if you can host the JavaScript elsewhere.

This is probably the most accessible answer if you want content _in the post_ as opposed to, for example, a banner at the top.

For example, I picked one of the front page items off CodePen (since it’s in our `allowed_iframes`) and embedded it below:

https://codepen.io/Pedro-Ondiviela/embed/yyLWGaN?default-tab=result

[source](https://meta.discourse.org/raw/361009/7)

---

_[View the full topic](https://meta.discourse.org/t/scripts-in-posts/361009)._
