# 커스텀 자바스크립트는 새로고침 후에만 적용되며, 위치 플러그인 카테고리 생성 관련

**URL:** <https://meta.discourse.org/t/custom-javascript-gets-only-applied-after-refresh-creating-categories-for-location-plugin/378365>\
**Category:** Development\
**Created:** [8월 12, 2025, 10:44오후 UTC](https://meta.discourse.org/t/custom-javascript-gets-only-applied-after-refresh-creating-categories-for-location-plugin/378365 "2025-08-12T22:44:44Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)\
**Post date:** [8월 13, 2025, 12:00오전 UTC](https://meta.discourse.org/t/custom-javascript-gets-only-applied-after-refresh-creating-categories-for-location-plugin/378365/2 "2025-08-13T00:00:05Z")

</div>

내가 틀리지 않았다면, Discourse가 단일 페이지 애플리케이션(SPA)이므로 이 작업에는 플러그인 API의 `api.onPageChange()`를 사용해야 할 것입니다.

---

_[View the full topic](https://meta.discourse.org/t/custom-javascript-gets-only-applied-after-refresh-creating-categories-for-location-plugin/378365)._
