Liu Zichen (Talk | contribs) |
Liu Zichen (Talk | contribs) |
||
Line 5: | Line 5: | ||
<link rel="canonical" href="" /> | <link rel="canonical" href="" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> | <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> | ||
− | |||
− | |||
− | |||
− | |||
<link rel="stylesheet" type="text/css" href="https://2017.igem.org/Team:Tianjin/Resources/CSS:begining?action=raw&ctype=text/css"> | <link rel="stylesheet" type="text/css" href="https://2017.igem.org/Team:Tianjin/Resources/CSS:begining?action=raw&ctype=text/css"> | ||
− | |||
<script src="https://2017.igem.org/Team:Tianjin/Resources/JS:jquerymin?action=raw&ctype=text/javascript"></script> | <script src="https://2017.igem.org/Team:Tianjin/Resources/JS:jquerymin?action=raw&ctype=text/javascript"></script> | ||
<link href="https://2017.igem.org/Team:Tianjin/Resources/CSS:style(2)?action=raw&ctype=text/css" rel="stylesheet" type="text/css" media="all"/> | <link href="https://2017.igem.org/Team:Tianjin/Resources/CSS:style(2)?action=raw&ctype=text/css" rel="stylesheet" type="text/css" media="all"/> | ||
Line 17: | Line 12: | ||
<link rel="stylesheet" href="https://2017.igem.org/Team:Tianjin/Resources/CSS:main?action=raw&ctype=text/css"> | <link rel="stylesheet" href="https://2017.igem.org/Team:Tianjin/Resources/CSS:main?action=raw&ctype=text/css"> | ||
<link rel="canonical" href=""> | <link rel="canonical" href=""> | ||
− | + | < script > | |
− | + | (function(d) { | |
− | + | var config = { | |
− | + | kitId: 'fml2iiv', | |
− | + | scriptTimeout: 3000, | |
− | + | async: true | |
− | + | }, | |
− | + | h = d.documentElement, | |
− | + | t = setTimeout(function() { | |
− | + | h.className = h.className.replace(/\bwf-loading\b/g, "") + " wf-inactive"; | |
+ | }, | ||
+ | config.scriptTimeout), | ||
+ | tk = d.createElement("script"), | ||
+ | f = false, | ||
+ | s = d.getElementsByTagName("script")[0], | ||
+ | a; | ||
+ | h.className += " wf-loading"; | ||
+ | tk.src = 'https://use.typekit.net/' + config.kitId + '.js'; | ||
+ | tk.async = true; | ||
+ | tk.onload = tk.onreadystatechange = function() { | ||
+ | a = this.readyState; | ||
+ | if (f || a && a != "complete" && a != "loaded") return; | ||
+ | f = true; | ||
+ | clearTimeout(t); | ||
+ | try { | ||
+ | Typekit.load(config) | ||
+ | } catch(e) {} | ||
+ | }; | ||
+ | s.parentNode.insertBefore(tk, s) | ||
+ | })(document); | ||
+ | </script> | ||
</head> | </head> | ||
Line 7,139: | Line 7,155: | ||
<script src="https://2017.igem.org/Team:Tianjin/Resources/JS:app?action=raw&ctype=text/javascript"></script> | <script src="https://2017.igem.org/Team:Tianjin/Resources/JS:app?action=raw&ctype=text/javascript"></script> | ||
<script> | <script> | ||
− | + | (function(i, s, o, g, r, a, m) { | |
− | + | i['GoogleAnalyticsObject'] = r; | |
− | + | i[r] = i[r] || | |
− | + | function() { (i[r].q = i[r].q || []).push(arguments) | |
+ | }, | ||
+ | i[r].l = 1 * new Date(); | ||
+ | a = s.createElement(o), | ||
+ | m = s.getElementsByTagName(o)[0]; | ||
+ | a.async = 1; | ||
+ | a.src = g; | ||
+ | m.parentNode.insertBefore(a, m) | ||
+ | })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga'); | ||
− | + | ga('create', 'UA-4738066-7', 'auto'); | |
− | + | ga('send', 'pageview'); | |
</script> | </script> | ||
</body> | </body> | ||
</html> | </html> |
Revision as of 09:03, 14 August 2017
< script > (function(d) { var config = { kitId: 'fml2iiv', scriptTimeout: 3000, async: true }, h = d.documentElement, t = setTimeout(function() { h.className = h.className.replace(/\bwf-loading\b/g, "") + " wf-inactive"; }, config.scriptTimeout), tk = d.createElement("script"), f = false, s = d.getElementsByTagName("script")[0], a; h.className += " wf-loading"; tk.src = 'https://use.typekit.net/' + config.kitId + '.js'; tk.async = true; tk.onload = tk.onreadystatechange = function() { a = this.readyState; if (f || a && a != "complete" && a != "loaded") return; f = true; clearTimeout(t); try { Typekit.load(config) } catch(e) {} }; s.parentNode.insertBefore(tk, s) })(document);