ybbond

My site. The main domain
Log | Files | Refs | README | LICENSE | CC-LICENSE

remarkbox.html (1639B)


      1 <!-- Remarkbox - Your readers want to communicate with you -->
      2 <div class="footnotes" role="doc-endnotes">
      3 <hr />
      4 <h3 class="footnotes__text">Comments:</h3>
      5 <div id="remarkbox-div">
      6   <noscript>
      7     <iframe id=remarkbox-iframe src="https://my.remarkbox.com/embed?nojs=true" style="height:600px;width:100%;border:none!important" tabindex=0></iframe>
      8   </noscript>
      9 </div>
     10 <script src="https://my.remarkbox.com/static/js/iframe-resizer/iframeResizer.min.js"></script>
     11 <script>
     12   var rb_owner_key = "372c6a71-6844-11eb-8f74-040140774501";
     13   var thread_uri = window.location.href;
     14   var thread_title = window.document.title;
     15   var thread_fragment = window.location.hash;
     16 
     17   // rb owner was here.
     18   var rb_src = "https://my.remarkbox.com/embed" + 
     19       "?rb_owner_key=" + rb_owner_key +
     20       "&thread_title=" + encodeURI(thread_title) +
     21       "&thread_uri=" + encodeURIComponent(thread_uri) + 
     22       thread_fragment;
     23 
     24   function create_remarkbox_iframe() {
     25     var ifrm = document.createElement("iframe");
     26     ifrm.setAttribute("id", "remarkbox-iframe");
     27     ifrm.setAttribute("scrolling", "no");
     28     ifrm.setAttribute("src", rb_src);
     29     ifrm.setAttribute("frameborder", "0");
     30     ifrm.setAttribute("tabindex", "0");
     31     ifrm.setAttribute("title", "Remarkbox");
     32     ifrm.style.width = "100%";
     33     document.getElementById("remarkbox-div").appendChild(ifrm);
     34   }
     35   create_remarkbox_iframe();
     36   iFrameResize(
     37     {
     38       checkOrigin: ["https://my.remarkbox.com"],
     39       inPageLinks: true,
     40       initCallback: function(e) {e.iFrameResizer.moveToAnchor(thread_fragment)}
     41     },
     42     document.getElementById("remarkbox-iframe")
     43   );
     44 </script>
     45 </div>