Modify page elements via javascript?

Eveline Carr February 7, 2022

I'd like to be able to modify Confluence Cloud page elements using javascript. However, the HTML/CSS/Script macros I've tried all seem to sandbox scripts.

So far I've tried Bob Swift HTML for Confluence and also the Artemis HTML Macro for Confluence Cloud macro.

For example, including this script in the Artemis macro:

<script>document.write('PMO: ' + document.location.href);</script>

yields this result:

https://ac-html-sandbox.herokuapp.com/sandbox?...

Does anyone know if there is any macro in the Marketplace that allows javascript access to all Confluence page content?

1 answer

0 votes
Eveline Carr February 17, 2022

Anybody?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events