Can I load javascript in the confluence page? Like the web-resource module of the confluence server plugin

Instead of using macros, I want to load javascript on the page to implement something

That’s not going to happen I’m afraid. Everything is sandboxed in iframes in cloud, so you won’t have access to the page.

Thank you.