# Inserting Javascript yields 403 error

**URL:** <https://meta.discourse.org/t/inserting-javascript-yields-403-error/154738>\
**Category:** Development\
**Created:** [June 13, 2020, 9:42am UTC](https://meta.discourse.org/t/inserting-javascript-yields-403-error/154738 "2020-06-13T09:42:31Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![smileBeda](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/smilebeda/32/272497_2.png) [@smileBeda](https://meta.discourse.org/u/smileBeda)\
**Post date:** [March 22, 2023, 4:18am UTC](https://meta.discourse.org/t/inserting-javascript-yields-403-error/154738/10 "2023-03-22T04:18:15Z")

</div>

This error was not happening just a week ago on a test Discourse instance I have and is happening this week.  
I tried all possible locations but to be honest, JS belongs just before the closing body tag not into the head, so that is where I would like it to go (and, that is what worked just last week)

It just pops up a `403 error` modal, that’s it.  
I made sure this is not due to components or theme… but not sure if it is due to some setting I inadvertently changed?

---

_[View the full topic](https://meta.discourse.org/t/inserting-javascript-yields-403-error/154738)._
