-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
111 lines (93 loc) · 4.33 KB
/
index.html
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<!DOCTYPE html>
<!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--><html lang="en"> <!--<![endif]-->
<head>
<!-- Basic Page Needs
================================================== -->
<meta charset="utf-8">
<title>GistMarklets</title>
<meta name="description" content="Simple installation pages for
bookmarklets hosted as Gists">
<meta name="author" content="Daniel Schep">
<!-- Mobile Specific Metas
================================================== -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<!-- CSS
================================================== -->
<link rel="stylesheet" href="stylesheets/base.css">
<link rel="stylesheet" href="stylesheets/skeleton.css">
<link rel="stylesheet" href="stylesheets/layout.css">
<!--[if lt IE 9]>
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- Favicons
================================================== -->
<!-- AllTheFavIcons.com standard favicon_64.png -->
<link rel="icon" type="image/png" href="images/favicon_64.png" />
<!-- AllTheFavIcons.com multi resolution favicon.ico for IE -->
<link rel="shortcut icon" href="images/favicon.ico">
<!-- Gistmarklet scripts/styles/dependencies
================================================== -->
<link rel="stylesheet" href="gistmarklet.css">
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script type="text/javascript" src="jQuery-Bookmarklet/jquery.bookmarklet.js"></script>
<script type="text/javascript" src="gistmarklet.js"></script>
<!-- google analytics -->
<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-40822116-1', 'schep.me');
ga('send', 'pageview');
</script>
</head>
<body>
<a href="https://github.com/dschep/GistMarklets"><img style="position: absolute; top: 0; right: 0; border: 0;" src="//s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub"></a>
<div id="header">
<div class="container">
<a href="#"><img src="images/textual-logo.png"></img></a>
<input type="text" placeholder="Gist ID"></input>
<a class="button" href="javascript:void(0)">Load Gist</a>
</div>
</div>
<div class="container">
<div id="landing" style="display:none">
<h1 style="text-align:center">Make easy to install bookmarlets with
<a href="http://gist.github.com/">Gists</a>.</h1>
<div class="clearfix">
<h4 class="eight columns alpha example-title">
Turn this
</h4>
<h4 class="eight columns omega example-title">
Into this
</h4>
<div class="eight columns alpha" id="demo-gist">
<script src="//gist.github.com/3886934.js"> </script>
</div>
<div class="eight columns omega" id="demo">
<p>Drag This button to your bookmarks bar</p>
<a class="button" href="javascript:alert('hello world!');">Alert Bookmarklet</a>
</div>
</div>
<hr class="large" />
<p>Simply add the ID of your Gist in the input in the top bar or
as the hash on this url</p>
<p>Try <a href="#3875317">Gist 3875317</a></p>
<p style="color:#888">Note: IE not fully supported yet</p>
</div>
<div id="loading" style="display:none">
<h3>Loading Gist …</h3>
</div>
<div id="gistmarklet" style="display:none">
<p>Drag This button to your bookmarks bar</p>
<a class="button"></a>
<br>
<a id="source">Source</a>
<div id="note"></div>
</div>
</div><!-- container -->
</body>
</html>