# Comment injecter du contenu dans \`before-script-load\` ?\` ?

**URL:** <https://meta.discourse.org/t/how-to-inject-content-into-before-script-load/265989>\
**Category:** Development\
**Created:** [Mai 23, 2023, 9:35 UTC](https://meta.discourse.org/t/how-to-inject-content-into-before-script-load/265989 "2023-05-23T21:35:51Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![gormus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gormus/32/428592_2.png) [@gormus](https://meta.discourse.org/u/gormus)\
**Post date:** [Mai 23, 2023, 9:35 UTC](https://meta.discourse.org/t/how-to-inject-content-into-before-script-load/265989/1 "2023-05-23T21:35:51Z")

</div>

Je voudrais injecter du javascript dans la région `before-script-load`.

Est-il possible d’y parvenir via un thème ou un composant de thème ?

> <https://github.com/discourse/discourse/blob/911539c1b23907f1bb46b6ef9264a5fb42621342/app/assets/javascripts/discourse/app/index.html#L16>

---

_[View the full topic](https://meta.discourse.org/t/how-to-inject-content-into-before-script-load/265989)._
