Enabling HTML Macro

Hello, community. Do I understand it right, that if I want to embed some JavaScript in a confluence page, I have to ask our confluence administrator to activate usage of HTML Macros? And if it is activated, any user of our confluence would be able to place own javascripts on any confluence page?

Is there no possibility to restrict usage of JavaScript or HTML Macros to a restricted set of confluence users?

Kind regards


2 answers

1 accepted

2 votes
Accepted answer

Enabling the HTML macro isn't a big deal. This would be the way to include javascript on pages. Yes any user can use javascript on pages, but if your confluence site isn't public then what is main concern here? 99% of users are not going to do any HTML or javascript at all.

I don't think you can restrict the usage of a macro with permissions. I honestly don't think there is a need for that anyway. There are worse things that someone can do in confluence with the right permission than including a little javascript.

HTML Plugin for Confluence provides a HTML Macro that can be controlled by Macro Security for Confluence which can limit who is allowed to create content with the macro.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,096 views 17 14
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you