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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

1,020 views 23 13
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