forked from igrigorik/hackernews-button
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.html
More file actions
33 lines (27 loc) · 1.11 KB
/
test.html
File metadata and controls
33 lines (27 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Awesome Page</title>
</head>
<body>
<div>
<a href="http://news.ycombinator.com/submit" class="hn-share-button" data-title="Some Title" data-url="http://www.igvita.com/2012/02/06/sstable-and-log-structured-storage-leveldb/">Vote on HN</a>
<a href="http://news.ycombinator.com/submit" class="hn-share-button">Vote on HN</a>
</div>
<script>
(function(d, t) {
var g = d.createElement(t),
s = d.getElementsByTagName(t)[0];
// g.src = '//hnbutton.appspot.com/static/hn.min.js';
g.src = 'http://localhost:8080/static/hn.min.js';
s.parentNode.insertBefore(g, s);
}(document, 'script'));
</script>
<script>
var _gaq=[['_setAccount','UA-XXXX-X'],['_setSiteSpeedSampleRate', 100],['_trackPageview']];
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.async=1;
g.src='http://www.google-analytics.com/ga.js';
s.parentNode.insertBefore(g,s)}(document,'script'));
</script>
</body>
</html>