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 Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

749 views 33 5
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