# Event Listeners for footer loaded

**URL:** <https://meta.discourse.org/t/event-listeners-for-footer-loaded/47929>\
**Category:** Development\
**Created:** [28 Julio, 2016 16:48 UTC](https://meta.discourse.org/t/event-listeners-for-footer-loaded/47929 "2016-07-28T16:48:47Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![e\_division](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/e_division/32/121626_2.png) [@e\_division](https://meta.discourse.org/u/e_division)\
**Post date:** [28 Julio, 2016 16:48 UTC](https://meta.discourse.org/t/event-listeners-for-footer-loaded/47929/1 "2016-07-28T16:48:47Z")

</div>

Hi! I was looking through old forum posts looking for a way to listen for page loads, specifically the footer but found possible outdated or deprecated solutions. The problem I am facing is that there is no current way of embedding javascript into the footer and need to be able to target some items within the footer which is why I thought of trying to listen for some type of event that is fired after the footer is loaded.

Is the footer unloaded and then reloaded on every content refresh or is it always there after the initial load?

The solution I found involved tapping into the Discourse.View.reopen({…}) method. Is there something similar in Discourse in it’s current iteration?

---

_[View the full topic](https://meta.discourse.org/t/event-listeners-for-footer-loaded/47929)._
