# Using scripts in the topic

**URL:** <https://meta.discourse.org/t/using-scripts-in-the-topic/294873>\
**Category:** Development\
**Created:** [February 9, 2024, 6:47pm UTC](https://meta.discourse.org/t/using-scripts-in-the-topic/294873 "2024-02-09T18:47:50Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Gonerdot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gonerdot/32/366307_2.png) [@Gonerdot](https://meta.discourse.org/u/Gonerdot)\
**Post date:** [February 9, 2024, 7:12pm UTC](https://meta.discourse.org/t/using-scripts-in-the-topic/294873/3 "2024-02-09T19:12:26Z")

</div>

> [@pfaffman](#):
>
> Can you say more about what it is you’re trying to accomplish?

I want to add javascript code to specific topics.  
This code calls an ad unit from the ad network I’m working with.  
Therefore, it is necessary to install it in specific places, and not just through a component, since there the choice is only between Body and Footer.

I tried using House Ads from the advertising plugin, but it doesn’t support JS

---

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