Skip to content

Commit 9dee3a8

Browse files
author
pdn
committed
Adding ABTasty as an experiment
1 parent b037a3d commit 9dee3a8

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

pandoc-data/templates/default.html5

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,17 @@ $endfor$
4747
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="site/ico/apple-touch-icon-114-precomposed.png">
4848
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="site/ico/apple-touch-icon-72-precomposed.png">
4949
<link rel="apple-touch-icon-precomposed" href="site/ico/apple-touch-icon-57-precomposed.png">
50+
51+
<script>
52+
(function(){
53+
var ABTastyAccID = "f85bdca929d30e9507c1898206b0089e";
54+
var ABTastyTimeout = 2000;
55+
var ABTastyIP = "";
56+
57+
if("undefined"!==typeof sessionStorage&&"undefined"!==typeof sessionStorage.ABTastyFrameworkCode&&0!=sessionStorage.ABTastyPagesViewed%5)sessionStorage.ABTastyPagesViewed++,"undefined"===typeof sessionStorage.ABTastyDontRun&&eval(sessionStorage.ABTastyFrameworkCode);else{if("undefined"!==typeof sessionStorage&&(void 0==sessionStorage.ABTastyPagesViewed?sessionStorage.ABTastyPagesViewed=0:sessionStorage.ABTastyPagesViewed++,"undefined"!==typeof sessionStorage.ABTastyDontRun))return;var b=(new Date).getTime(),c=document.getElementsByTagName("head")[0],a=document.createElement("script");a.setAttribute("type","text/javascript");a.setAttribute("async","true");a.setAttribute("src","//d1447tq2m68ekg.cloudfront.net/"+ABTastyAccID+".js");/MSIE [678]/.test(window.navigator.userAgent)||(window.stopABTastyAutorun=!0,a.onload=function(){var a=(new Date).getTime()-b;"undefined"!==typeof ABTastyFrameworkCode&&"undefined"!==typeof sessionStorage&&(sessionStorage.ABTastyFrameworkCode=ABTastyFrameworkCode);a>ABTastyTimeout?"undefined"!==typeof sessionStorage&&(sessionStorage.ABTastyDontRun="true"):"undefined"!==typeof ABTastyFrameworkCode&&eval(ABTastyFrameworkCode)});c.appendChild(a)}
58+
})();
59+
</script>
60+
5061
</head>
5162
<body>
5263
<script src="js/jquery.js"></script>

0 commit comments

Comments
 (0)