4 Replies Latest reply on Jan 17, 2018 12:37 PM by sclifford RSS
    sclifford Explorer

    Is it possible to embed a script widget in a mashup?

    I want to add a <script>....</script> widget to a Mashup.


    Is this possible? How can this be achieved?


    For example:


    <script>window.twttr = (function(d, s, id) {
      var js, fjs = d.getElementsByTagName(s)[0],
      t = window.twttr || {};
      if (d.getElementById(id)) return t;
      js = d.createElement(s);
      js.id = id;
      js.src = "https://platform.twitter.com/widgets.js";
      fjs.parentNode.insertBefore(js, fjs);
      t._e = [];
      t.ready = function(f) {
      return t;
    }(document, "script", "twitter-wjs"));</script>


    I know there is a Twitter extension, but how can this be done without the extension.