HTML code pasted into text box not displying

  • Unknown's avatar

    Hi,
    The code I am trying to use in a text box is as follows:

    <div id=”influenster-widget-container”></div>
    <script>
    function showInfluensterWidget(data){
    document.getElementById(‘influenster-widget-container’).innerHTML = data.widget_html;
    }
    </script>
    <script type=”text/javascript” src=”http://widget.influenster.com/widget/ed5fef1f5e99760a9ad4a4e656b6de80?callback=showInfluensterWidget”></script>

    Is there anyway to get this code to work? Is it because of the javascript in it?

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    That’s javascript. It will be stripped out here as unsafe. Same goes with iframes.

  • Unknown's avatar

    Thanks for the reply; so there is no way they will allow it on a case by case basis since this script is not dangerous?

  • Unknown's avatar

    There is no way. It’s not a matter of the specific code being dangerous. It’s a matter of introducing an exploitable vulnerability.

  • Unknown's avatar

    Well that’s unfortunate. I suppose then the only option would be self hosted. Thanks letting me know!

  • The topic ‘HTML code pasted into text box not displying’ is closed to new replies.