# Javascript inserted into Footer from Discourse UI not working

**URL:** https://meta.discourse.org/t/javascript-inserted-into-footer-from-discourse-ui-not-working/40531
**Category:** Support
**Created:** [March 3, 2016, 7:25pm UTC](https://meta.discourse.org/t/javascript-inserted-into-footer-from-discourse-ui-not-working/40531 "2016-03-03T19:25:25Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [March 4, 2016, 5:26am UTC](https://meta.discourse.org/t/javascript-inserted-into-footer-from-discourse-ui-not-working/40531/4 "2016-03-04T05:26:13Z")

</div>

Looking at the [code](https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse/templates/application.hbs#L15-L17) by which footer is inserted, I believe it’s not possible to insert JavaScript via `Footer` and `Top`.

The only sections which supports injecting JavaScript are `Header`, `</head>` and `</body>`.

* * *

> [@DeanMarkTaylor](#):
>
> normal content

I am not able to repro this, normal content appears fine in Footer. Also here is one of our hosted instance which has custom Footer:

[http://forums.mtbakervapor.com/t/welcome-to-mt-baker-vapors-discourse/6](http://forums.mtbakervapor.com/t/welcome-to-mt-baker-vapors-discourse/6)

Looks just fine.

---

_[View the full topic](https://meta.discourse.org/t/javascript-inserted-into-footer-from-discourse-ui-not-working/40531)._
