forked from stefl/console.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
36 lines (36 loc) · 906 Bytes
/
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
<!DOCTYPE HTML>
<html>
<head>
<meta encoding="utf-8">
<title>Console.js</title>
<style type="text/css">
html {
background-color: #F8F8F8;
font-family: sans-serif;
text-align: center;
}
.ribbon {
position: absolute;
top: 0;
right: 0;
}
img {
border: none;
}
</style>
<script type="text/javascript" src="console.js"></script>
<script type="text/javascript">
console.log({roses: 'red', violets: 'blue', grass: 'green'});
</script>
</head>
<body>
<h1><img src="intro.png" alt="Console.js" /></h1>
<a href="http://github.com/NV/console.js">
<img class="ribbon" src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub">
</a>
<p>
Bookmarklet:
<a href="javascript:(function(){var script=document.createElement('script');script.src='http://nv.github.com/console.js/console.js';document.body.appendChild(script)})();">console.js</a>
</p>
</body>
</html>