forked from jrcryer/jquery-bookmarklet-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
22 lines (22 loc) · 799 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
<!Doctype html>
<html>
<head>
<title>Bookmarklet Test Page</title>
<link type="text/css" href="css/reset.css" rel="stylesheet" />
<link type="text/css" href="css/app.css" rel="stylesheet" />
</head>
<body>
<header>
<h1>Bookmarklet Test Page</h1>
</header>
<article>
<p>
<a href="javascript:(function(){
var app = document.createElement('script'); app.type = 'text/javascript'; app.async = true;
app.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'localhost/bookmarklet/js/app.js';
document.body.appendChild(app);
})();">Externalise it</a>
</p>
</article>
</body>
</html>