Skip to content

Commit b3243b5

Browse files
committed
don't put google analytics info in github
1 parent ecf4d9b commit b3243b5

11 files changed

Lines changed: 15 additions & 96 deletions

v3/c.html

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -74,20 +74,7 @@
7474
<script type="text/javascript" src="js/opt-testcases.js"></script>
7575
<link rel="stylesheet" href="css/opt-testcases.css"/>
7676

77-
78-
<script type="text/javascript">
79-
80-
var _gaq = _gaq || [];
81-
_gaq.push(['_setAccount', 'UA-34795707-1']);
82-
_gaq.push(['_trackPageview']);
83-
84-
(function() {
85-
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
86-
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
87-
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
88-
})();
89-
90-
</script>
77+
<!-- insert google-analytics.txt contents here -->
9178

9279
</head>
9380

v3/composingprograms.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@
6464
global variables are already defined at load time -->
6565
<script type="text/javascript" src="js/togetherjs/togetherjs-min.js"></script>
6666

67+
<!-- insert google-analytics.txt contents here -->
68+
6769
</head>
6870

6971
<body>

v3/cpp.html

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -74,20 +74,7 @@
7474
<script type="text/javascript" src="js/opt-testcases.js"></script>
7575
<link rel="stylesheet" href="css/opt-testcases.css"/>
7676

77-
78-
<script type="text/javascript">
79-
80-
var _gaq = _gaq || [];
81-
_gaq.push(['_setAccount', 'UA-34795707-1']);
82-
_gaq.push(['_trackPageview']);
83-
84-
(function() {
85-
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
86-
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
87-
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
88-
})();
89-
90-
</script>
77+
<!-- insert google-analytics.txt contents here -->
9178

9279
</head>
9380

v3/csc108h.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@
5959
<script type="text/javascript" src="js/csc108h.js"></script>
6060
<link rel="stylesheet" href="css/opt-frontend.css"/>
6161

62+
<!-- insert google-analytics.txt contents here -->
63+
6264
</head>
6365

6466
<body>

v3/csc108h_shared.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@
6363
global variables are already defined at load time -->
6464
<script type="text/javascript" src="js/togetherjs/togetherjs-min.js"></script>
6565

66+
<!-- insert google-analytics.txt contents here -->
67+
6668
</head>
6769

6870
<body>

v3/java.html

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -74,20 +74,7 @@
7474
<script type="text/javascript" src="js/opt-testcases.js"></script>
7575
<link rel="stylesheet" href="css/opt-testcases.css"/>
7676

77-
78-
<script type="text/javascript">
79-
80-
var _gaq = _gaq || [];
81-
_gaq.push(['_setAccount', 'UA-34795707-1']);
82-
_gaq.push(['_trackPageview']);
83-
84-
(function() {
85-
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
86-
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
87-
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
88-
})();
89-
90-
</script>
77+
<!-- insert google-analytics.txt contents here -->
9178

9279
</head>
9380

v3/javascript.html

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -75,20 +75,7 @@
7575
<script type="text/javascript" src="js/opt-testcases.js"></script>
7676
<link rel="stylesheet" href="css/opt-testcases.css"/>
7777

78-
79-
<script type="text/javascript">
80-
81-
var _gaq = _gaq || [];
82-
_gaq.push(['_setAccount', 'UA-34795707-1']);
83-
_gaq.push(['_trackPageview']);
84-
85-
(function() {
86-
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
87-
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
88-
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
89-
})();
90-
91-
</script>
78+
<!-- insert google-analytics.txt contents here -->
9279

9380
</head>
9481

v3/live.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@
5656
<link rel="stylesheet" href="css/opt-frontend.css"/>
5757
<link rel="stylesheet" href="css/opt-live.css"/>
5858

59+
<!-- insert google-analytics.txt contents here -->
60+
5961
</head>
6062

6163
<body>

v3/ruby.html

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -74,20 +74,7 @@
7474
<script type="text/javascript" src="js/opt-testcases.js"></script>
7575
<link rel="stylesheet" href="css/opt-testcases.css"/>
7676

77-
78-
<script type="text/javascript">
79-
80-
var _gaq = _gaq || [];
81-
_gaq.push(['_setAccount', 'UA-34795707-1']);
82-
_gaq.push(['_trackPageview']);
83-
84-
(function() {
85-
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
86-
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
87-
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
88-
})();
89-
90-
</script>
77+
<!-- insert google-analytics.txt contents here -->
9178

9279
</head>
9380

v3/typescript.html

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -74,20 +74,7 @@
7474
<script type="text/javascript" src="js/opt-testcases.js"></script>
7575
<link rel="stylesheet" href="css/opt-testcases.css"/>
7676

77-
78-
<script type="text/javascript">
79-
80-
var _gaq = _gaq || [];
81-
_gaq.push(['_setAccount', 'UA-34795707-1']);
82-
_gaq.push(['_trackPageview']);
83-
84-
(function() {
85-
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
86-
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
87-
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
88-
})();
89-
90-
</script>
77+
<!-- insert google-analytics.txt contents here -->
9178

9279
</head>
9380

0 commit comments

Comments
 (0)