If you want to add a dynamic script to a blog page or the admin console, the best way to do this is to respond to the trigger calls
If you want to add a static script to a blog page, you can respond to the trigger filter
admin_head and output a complete
jQuery will always be available, loaded statically from includes/common.js.
Content Security Policy
With the trigger call