# מהי הדרך המהירה והקלה ביותר להוסיף קובץ או קטע javascript מתמשך

**URL:** https://meta.discourse.org/t/whats-the-fastest-and-easiest-way-to-add-a-persistent-javascript-file-or-snippet/159888
**Category:** Development
**Created:** [5 באוגוסט,‏ 2020,‏ 9:58am UTC](https://meta.discourse.org/t/whats-the-fastest-and-easiest-way-to-add-a-persistent-javascript-file-or-snippet/159888 "2020-08-05T09:58:18Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)
#### Post date: [5 באוגוסט,‏ 2020,‏ 10:26am UTC](https://meta.discourse.org/t/whats-the-fastest-and-easiest-way-to-add-a-persistent-javascript-file-or-snippet/159888/4 "2020-08-05T10:26:00Z")

</div>

As I said, the fastest solution is to create a component. You can create one in few clicks with the UI: [Developing Discourse Themes & Theme Components](https://meta.discourse.org/t/developer-s-guide-to-discourse-themes/93648) You can follow that but instead of importing, you create a “new” one. Then, once component is created, you can edit it to add HTML/CSS/JS.

I don’t have the time to make screenshot, and the guide already shows you what you need… You don’t need to read everything, you can be done in less than one minute.

---

_[View the full topic](https://meta.discourse.org/t/whats-the-fastest-and-easiest-way-to-add-a-persistent-javascript-file-or-snippet/159888)._
