# Exécuter du JS après le chargement du DOM

**URL:** <https://meta.discourse.org/t/executing-js-after-dom-loaded/102958>\
**Category:** Product Support\
**Created:** [Novembre 28, 2018, 9:03 UTC](https://meta.discourse.org/t/executing-js-after-dom-loaded/102958 "2018-11-28T09:03:55Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Johani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johani/32/176920_2.png) [@Johani](https://meta.discourse.org/u/Johani)\
**Post date:** [Novembre 30, 2018, 4:14 UTC](https://meta.discourse.org/t/executing-js-after-dom-loaded/102958/6 "2018-11-30T04:14:20Z")

</div>

> [@marina](#):
>
> I have one question though, if I am using a Discourse hosted instance, would I still be able to use plugin outlets?

You can pretty much do whatever you like in a theme on a hosted install. Modifying templates or adding elements via plugin-outlets can be done in a theme. So the answer is yes!

---

_[View the full topic](https://meta.discourse.org/t/executing-js-after-dom-loaded/102958)._
