# Embed javascript in a Discourse post?

**URL:** <https://meta.discourse.org/t/embed-javascript-in-a-discourse-post/137845>\
**Category:** Marketplace\
**Created:** [January 6, 2020, 5:16am UTC](https://meta.discourse.org/t/embed-javascript-in-a-discourse-post/137845 "2020-01-06T05:16:50Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Mark\_Schmucker](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mark_schmucker/32/124810_2.png) [@Mark\_Schmucker](https://meta.discourse.org/u/Mark_Schmucker)\
**Post date:** [January 6, 2020, 5:16am UTC](https://meta.discourse.org/t/embed-javascript-in-a-discourse-post/137845/1 "2020-01-06T05:16:50Z")

</div>

Is it possible to embed javascript in a Discourse post? I’m using [Knack](https://www.knack.com) for an online database app and would like to display it in a Discourse post for legacy reasons. Knack says “copy and paste the following code snippet into your site or blog”:

`<script type="text/javascript">app_id="5e056206fa44aa00xxxxxxxx";distribution_key="dist_4";api_domain="knack.com";</script><script type="text/javascript" src="https://loader.knack.com/5e056206fa44aa00xxxxxxxx/dist_4/knack.js"></script><div id="knack-dist_4">Loading...</div>`

I’ve pasted that code below, and as you can see, it just says “Loading…”. The content does not require sign-in. I get the same result on my own forum even after whitelisting the domain.

Loading...

---

_[View the full topic](https://meta.discourse.org/t/embed-javascript-in-a-discourse-post/137845)._
