Sorry to dig up an old thread, Matt - but I am just looking for the same possibility of running light javascript in some WF pages.
I imagined it was off for security reasons; and asked my gracious host, at https://write.tedomum.net/ for assistance. They pointed me to this thread.
I have a very short script which is useful for a Custom Google Search engine, strictly for my own blog pages. It works well, but would be ideal if this could be an option - allowed in the Settings panel, possibly?
It might be shown in the footer of every page, and the user configurable parameter would be simply the string of characters cx, that defines the specific page as added by the user to GCSE. This code is what I need :
`<script async src="https://cse.google.com/cse.js?cx=3e384e93bce23813b"></script>`
`<div class="gcse-searchbox"></div>`
and the results area below :
`<div class="gcse-searchresults"></div>`
Thank you !