How can I embed a Javascript Widget on Confluence?

I want to embed one of these but the HTML macro doesn't work: http://www.wolframalpha.com/widgets/gallery/view.jsp?id=2f1e0f79bf8e30d846b3dc75b4a0f2cf

<script type="text/javascript" id="WolframAlphaScript2f1e0f79bf8e30d846b3dc75b4a0f2cf" src="http://www.wolframalpha.com/widget/widget.jsp?id=2f1e0f79bf8e30d846b3dc75b4a0f2cf"></script>

1 answer

1 vote
Davin Studer Community Champion Oct 08, 2014

If you want it on every page

Confluence Admin -> Custom HTML -> At end of the BODY.

If you want it just on one page

HTML macro (disabled by default)


Update:

image2014-10-8 11:31:19.png

As I said, I tried the HTML macro and it doesn't render.

Davin Studer Community Champion Oct 08, 2014

Oops. Sorry. Missed that part. Hmm. What version are you on. I tried the html macro on 5.5.6 and 5.4.4 and it worked. See screen shot above in my update.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

258 views 2 10
Read article

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