# Script execution "Top of pages" vs "HTML Head" - Regression?

**URL:** <https://meta.discourse.org/t/script-execution-top-of-pages-vs-html-head-regression/23900>\
**Category:** Feature\
**Created:** [January 12, 2015, 12:32am UTC](https://meta.discourse.org/t/script-execution-top-of-pages-vs-html-head-regression/23900 "2015-01-12T00:32:21Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![DeanMarkTaylor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/deanmarktaylor/32/102462_2.png) [@DeanMarkTaylor](https://meta.discourse.org/u/DeanMarkTaylor)\
**Post date:** [January 12, 2015, 12:32am UTC](https://meta.discourse.org/t/script-execution-top-of-pages-vs-html-head-regression/23900/1 "2015-01-12T00:32:21Z")

</div>

I used to have some script in the “Top of pages” section…

However recently I noticed it’s no longer getting executed.

I rewrote the JavaScript so it could work in “HTML Head” where it does get executed.

 ![](https://global.discourse-cdn.com/meta/original/3X/2/4/2473b741734b260b7bc4885d6ee7d817216c49a5.png) 

The `4` is where I was putting the JavaScript `script` tags previously.

---

_[View the full topic](https://meta.discourse.org/t/script-execution-top-of-pages-vs-html-head-regression/23900)._
