# Adding a javascript in a post?

**URL:** <https://meta.discourse.org/t/adding-a-javascript-in-a-post/130019>\
**Category:** Support\
**Created:** [October 2, 2019, 7:58am UTC](https://meta.discourse.org/t/adding-a-javascript-in-a-post/130019 "2019-10-02T07:58:50Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Mikael\_Baggström](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mikael_baggstr%C3%B6m/32/151503_2.png) [@Mikael\_Baggström](https://meta.discourse.org/u/Mikael_Baggstr%C3%B6m)\
**Post date:** [October 2, 2019, 7:58am UTC](https://meta.discourse.org/t/adding-a-javascript-in-a-post/130019/1 "2019-10-02T07:58:50Z")

</div>

Hello,  
I have a custom script (javascript) that I want to add in the end of my post. It is a affiliate graphic banner, and embedding it does not do anything right now.

Embedding this javascript code works well on my Wordpress website, so I assume this is a setting or something I need to activate on Discourse in order to work?

PS. I wanted to show the code here, but if I paste it in nothing shows.

---

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