diff --git a/CustomJavascript.js b/CustomJavascript.js index fe4974f7..67816fe6 100644 --- a/CustomJavascript.js +++ b/CustomJavascript.js @@ -1,23 +1,32 @@ -var topP = document.createElement("p"); +let script = document.createElement("script"); +script.type = "text/javascript"; +script.defer = true; +script.src = "https://tinylytics.app/embed/es7bhjhkDCy3YXWaMChz.js"; +document.body.appendChild(script); + +// "This code creates a new
element with the div "custom-nav" and it's content. The following code looks for a element with the wrapper id and adds the new
element. If the element with the wrapper id is not present, then the
element is added after the post-body element. There is then code which sets a hypothesis config which sets the sidebar to stay closed and sets custom colors. The last part of the code looks into the post-body element, finds any footnote reference and then changes them into a clickable link." + //topP.style.textAlign = "center"; -topP.innerHTML = '