Jump to content

Allowing Javascript for Privacy Policy


MarianHärtel

Recommended Posts

Posted

I want to include the Iubenda.com Privacy Service into my community.

I looks like this

 

<a href="//www.iubenda.com/privacy-policy/8257716" class="iubenda-white no-brand iub-body-embed iub-no-markup iubenda-embed" title="Privacy Policy">Privacy Policy</a><script type="text/javascript">(function (w,d) {var loader = function () {var s = d.createElement("script"), tag = d.getElementsByTagName("script")[0]; s.src = "//cdn.iubenda.com/iubenda.js"; tag.parentNode.insertBefore(s,tag);}; if(w.addEventListener){w.addEventListener("load", loader, false);}else if(w.attachEvent){w.attachEvent("onload", loader);}else{w.onload = loader;}})(window, document);</script>

How can I allow the that only this script is allowed to be correctly displaced as Privacy Policy Test when I paste into the Privacy Policy Area in the ACP?

I tried to put the domain at "Allowed javascript controller" with now effect.

 

Thx

 

Marian

Posted
15 hours ago, opentype said:

Make sure your account is allowed to post HTML. Then turn on “Source mode” for the editor and just paste the code in and save. I tried it on my own site. It works. 

Thx

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...