# كيفية حقن المحتوى في \`before-script-load\`؟

**URL:** <https://meta.discourse.org/t/how-to-inject-content-into-before-script-load/265989>\
**Category:** Development\
**Created:** [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:** 3

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [24 مايو 2023، 12:33ص UTC](https://meta.discourse.org/t/how-to-inject-content-into-before-script-load/265989/3 "2023-05-24T00:33:08Z")

</div>

> [@gormus](#):
>
> أود حقن بعض جافاسكريبت في منطقة `before-script-load`.

هذه صفحة تطوير لا تُستخدم في بيئة الإنتاج.

بالنسبة للصفحات الفعلية في Discourse، يمكن للسمات حقن المحتوى في العنصر الرأسي (head) بشكل جيد، ولكن دون الكثير من التحكم في المكان الدقيق الذي يحدث فيه ذلك، ولكن كما قال @Lilly، لا ينبغي أن يكون هذا مشكلة.

إذا كان بإمكانك إخبارنا بمزيد من التفاصيل حول ما تريد تحقيقه بالضبط، فقد نقدم بعض الاقتراحات.

---

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