preamble.html 912 B

123456789101112131415161718192021222324252627282930
  1. <script type="text/javascript">
  2. document.addEventListener('DOMContentLoaded',function() {
  3. document.getElementById("table-of-contents").onclick = function() {
  4. var elem = document.getElementById("text-table-of-contents");
  5. elem.style.display = elem.style.display == "block" ? "none" : "block";
  6. }
  7. });
  8. var url = document.location.href;
  9. var orgsource = url.substring(0, url.lastIndexOf("."))+".org.html";
  10. function show_org_source(){
  11. document.location.href = orgsource;
  12. }
  13. </script>
  14. <script>
  15. (function(f, a, t, h, o, m){
  16. a[h]=a[h]||function(){
  17. (a[h].q=a[h].q||[]).push(arguments)
  18. };
  19. o=f.createElement('script'),
  20. m=f.getElementsByTagName('script')[0];
  21. o.async=1; o.src=t; o.id='fathom-script';
  22. m.parentNode.insertBefore(o,m)
  23. })(document, window, '//stats.orgmode.org/tracker.js', 'fathom');
  24. fathom('set', 'siteId', 'NWSQJ');
  25. fathom('trackPageview');
  26. </script>