eula.html

By boardraider, 1 Year ago, written in html4strict.
  1. <html><head><link href="/tools/dlpage/res/c/css/goog.css" rel="stylesheet" type="text/css"> <link href="/tools/dlpage/res/c/css/dlpage.css" rel="stylesheet" type="text/css">  <link rel="icon" type="image/ico" href="/tools/dlpage/res/chrome/images/chrome-16.png"> <title>Google Chrome for Windows - Terms and Conditions Agreement</title> <script type="text/javascript" src="/tools/dlpage/res/c/gu-util.js"></script> <script type="text/javascript">
  2.   var gaJsHost = (("https:" == document.location.protocol) ?
  3.       "https://ssl." : "http://www.");
  4.   document.write(unescape("%3Cscript src='" + gaJsHost +
  5.       "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
  6.   </script><script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script> <script type="text/javascript">
  7.   var pageTracker = _gat._getTracker("UA-4436568-1");
  8.   var path = "/chrome";
  9.   if (path) {
  10.     pageTracker._setCookiePath(path);
  11.   }
  12.   pageTracker._initData();
  13.   pageTracker._trackPageview();
  14.   </script> <script type="text/javascript">
  15.   function resetButtons(name) {
  16.     var buttons = document.getElementsByName(name);
  17.     for (i = 0; i < buttons.length; ++i) {
  18.      buttons[i].disabled = false;
  19.    }
  20.  }
  21.  function showThrobber(isVisible) {
  22.    
  23.      var divThrobber = document.getElementById('throbber');
  24.      var imgThrobber = document.getElementById('throbber-img');
  25.      if (!divThrobber || !imgThrobber) {
  26.        return;
  27.      }
  28.      if (!isVisible) {
  29.        divThrobber.style.display = 'none';
  30.      }
  31.      
  32.      imgThrobber.src = isVisible ? "/tools/dlpage/res/chrome/images/chrome_throbber_fast_16.gif" : "";
  33.      if (isVisible) {
  34.        divThrobber.style.display = 'inline';
  35.      }
  36.    
  37.  }
  38.  function getThankyouUrl(queryString) {
  39.    var thankYouUrl = "thankyou.html";
  40.    if (areStatsEnabled()) {
  41.      if (queryString.length > 0) {
  42.         queryString += '&';
  43.       }
  44.       queryString += 'statcb=';
  45.     }
  46.     if (queryString.length == 0) {
  47.       return thankYouUrl;
  48.     }
  49.     if (thankYouUrl.indexOf('?') == -1) {
  50.       thankYouUrl += '?';
  51.     } else if (thankYouUrl.charAt(thankYouUrl.length - 1) != '&' &&
  52.               thankYouUrl.charAt(thankYouUrl.length - 1) != '?') {
  53.      thankYouUrl += '&';
  54.     }
  55.  
  56.     thankYouUrl += queryString;
  57.     return thankYouUrl;
  58.   }
  59.   function queueThankyou(timeout, queryString) {
  60.     var page = getThankyouUrl(queryString);
  61.     setTimeout(function() {showThrobber(false);
  62.                            resetButtons("submitbutton");
  63.                            this.document.location.href = page}, timeout);}
  64.   function getApps() {
  65.     var apps = new Array();
  66.    
  67.    
  68.    
  69.    
  70.       apps.push(_GU_createAppInfo(
  71.           "{8A69D345-D564-463C-AFF1-A69D9E530F96}",
  72.           "Google Chrome",
  73.           "false",
  74.           ""));
  75.      
  76.       apps.push(_GU_createAppInfo(
  77.           "{00058422-BABE-4310-9B8B-B8DEB5D0B68A}",
  78.           "ChromeGears",
  79.           "false",
  80.           ""));
  81.    
  82.    
  83.    
  84.    
  85.     return apps;
  86.   }
  87.   function areStatsEnabled() {
  88.     var statcb = document.getElementById("statcb");
  89.     return (statcb && statcb.checked);
  90.   }
  91.   function downloadInstaller(statEnable, opt_buildDownloadPath, opt_filePath) {
  92.     var buildDownloadPath = opt_buildDownloadPath || _GU_buildDlPath;
  93.     var filePath = opt_filePath ||
  94.         "/update2/installers/ChromeSetup.exe";
  95.  
  96.      
  97.       var dlServer =
  98.      
  99.         "http://dl.google.com";
  100.      
  101.     location.href =
  102.         buildDownloadPath(getApps(),
  103.                           "en",
  104.                           statEnable,
  105.                           dlServer,
  106.                           filePath);
  107.      
  108.   }
  109.   function installViaDownload() {
  110.     queueThankyou(1200, '');
  111.     downloadInstaller(areStatsEnabled());
  112.   }
  113.   function isClickOnceEnabled() {
  114.    
  115.     return false;
  116.   }
  117.   function isOneClickEnabled() {
  118.     return true;
  119.   }
  120.   function installViaClickOnce() {
  121.  
  122.     installViaDownload();
  123.  
  124.   }
  125.   function installViaOneClick() {
  126.  
  127.     showThrobber(true);
  128.     window.google.update.oneclick.install(
  129.       getApps(),
  130.       "en",
  131.       areStatsEnabled(),
  132.       function() {queueThankyou(4000, 'oneclickinstalled=');},
  133.       function(hr) {installViaDownload();});
  134.  
  135.   }
  136.   function installApp() {
  137.     if (isOneClickEnabled() && _GU_isOneClickAvailable()) {
  138.      installViaOneClick();
  139.     } else if (isClickOnceEnabled() && _GU_isClickOnceAvailable()) {
  140.      installViaClickOnce();
  141.     } else {
  142.       installViaDownload();
  143.     }
  144.   }
  145. </script> <script type="text/javascript">
  146.   function goCancelled() {
  147.     this.document.location.href =
  148.       "index.html";
  149.   }
  150. </script></head><body onload="if (isOneClickEnabled()) {_GU_SetupOneClick();}"><div id="container"><noscript>You need a JavaScript-capable browser to download this software. <a href="http://www.google.com/support/bin/answer.py?answer=23852&hl=en">Click here for instructions</a> on how to enable JavaScript in your browser.</noscript>  <div id="header"><a style="" title="http://www.google.com/chrome" href="http://www.google.com/chrome"><img class="logo" alt="" src="/chrome/intl/en/images/logo_sm.jpg" height="55" width="150"></a> <h1>&nbsp;</h1></div> <div id="main"><div id="tos"><iframe src="/chrome/intl/en/eula_text.html"></iframe> <br> <br> <p><input name="checkbox" id="statcb" type="checkbox"> <label for="statcb"><b>Optional:</b> Help make Google Chrome better by automatically sending usage statistics and crash reports to Google. <a title="http://www.google.com/support/chrome/bin/answer.py?answer=96817&amp;hl=en" href="http://www.google.com/support/chrome/bin/answer.py?answer=96817&amp;hl=en">Learn more</a></label></p> <div style="position: relative; width: 100%;"><div id="throbber"><img id="throbber-img" alt="" src="/tools/dlpage/res/chrome/images/chrome_throbber_fast_16.gif" height="16" width="16"></div> <div style="display: inline;"><input id="submit1" name="submitbutton" onclick="this.disabled=true;installApp();" value="Accept and Install" type="button"></div> <input name="Button" onclick="goCancelled();" value="Cancel" type="button"></div></div></div> <div id="footer"><p>©2008 Google - <a title="http://www.google.com/" href="http://www.google.com/">Home</a> - <a title="http://www.google.com/intl/en/about.html" href="http://www.google.com/intl/en/about.html">About Google</a> - <a title="http://www.google.com/chrome/intl/en/privacy.html" href="/chrome/intl/en/privacy.html">Privacy Policy</a> - <a title="http://www.google.com/support/chrome/?hl=en" href="http://www.google.com/support/chrome/?hl=en">Help</a></p></div></div></body></html>