Advertisement
Guest User

Untitled

a guest
Apr 17th, 2021
386
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 1.45 KB | None | 0 0
  1. <title>LaTeX.Online - Converting your document..</title>
  2. <link rel="icon" type="image/png" href="/icon.png" />
  3. <!-- Google Analytics -->
  4. <script>
  5. (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  6. (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  7. m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  8. })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
  9.  
  10. // Track virtual page view.
  11. if (location.search.length >= 1) {
  12.     var redirectURL = '/compile?' + location.search.substr(1);
  13.     // filter out trackingId
  14.     var virtualPageURL = redirectURL.split("&")
  15.            .filter(component => !component.startsWith('trackId'))
  16.            .join('&');
  17.  
  18.     ga('create', 'UA-31467918-1', 'auto');
  19.     ga('set', 'page', virtualPageURL);
  20.     ga('send', 'pageview', {
  21.       'hitCallback': hitCallback
  22.     });
  23.     // GA might never call the hitCallback - call it automatically in 3 seconds.
  24.     setTimeout(hitCallback, 3000);
  25.  
  26.     function hitCallback() {
  27.       document.location.replace(redirectURL);
  28.     }
  29. }
  30. </script>
  31. <!-- End Google Analytics -->
  32.  
  33. <style>
  34. html {
  35.     font-family: Helvetica, Arial;
  36. }
  37. a:visited {
  38.     color: blue;
  39. }
  40. </style>
  41. <a href="/" title="Latex Online: Create PDF from Tex file located in GIT repo" target="_blank" onClick="ga('send', 'event', 'OpenMainPage', 'Click', 'CompilePage')">LatexOnline</a> is compiling...
  42.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement