modified: index.html
This commit is contained in:
parent
9564fdcd01
commit
e3c478234b
1 changed files with 2 additions and 1 deletions
|
|
@ -478,9 +478,10 @@ The end result is a visitor can comment right away without needing to signup or
|
|||
<script>
|
||||
var rb_owner_key = "c3293984-fa1c-11e7-af74-040140774501";
|
||||
var thread_uri = window.location.href;
|
||||
var thread_title = window.document.title;
|
||||
var thread_fragment = window.location.hash;
|
||||
function create_remarkbox_iframe() {
|
||||
var src = "https://my.remarkbox.com/embed?rb_owner_key=" + rb_owner_key + "&thread_uri=" + thread_uri;
|
||||
var src = "https://my.remarkbox.com/embed?rb_owner_key=" + rb_owner_key + "&thread_title=" + escape(thread_title) + "&thread_uri=" + encodeURIComponent(thread_uri) + thread_fragment;
|
||||
var ifrm = document.createElement("iframe");
|
||||
ifrm.setAttribute("id", "remarkbox-iframe");
|
||||
ifrm.setAttribute("scrolling", "no");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue