forked from mhayashi/backlog-messenger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
28 lines (28 loc) · 899 Bytes
/
popup.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<link rel="stylesheet" href="css/reset.css" type="text/css" media="screen" />
<link rel="stylesheet" href="css/style.css" type="text/css" media="screen" />
<link rel="stylesheet" href="css/popup.css" type="text/css" media="screen" />
</head>
<body>
<div id="main">
<a href="#" onclick="openTab(chrome.extension.getURL('options.html'))">Options</a>
<a id="add" href="#">Add</a>
<div id="comments">
</div>
</div>
<script type="text/javascript" src="libs/3rdparty/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="libs/main.js"></script>
<script type="text/javascript" src="libs/popup.js"></script>
<script type="text/javascript">
function openTab(url) {
if (url.match(/^www/i)) {
url = "http://" + url;
}
window.open(url);
}
</script>
</body>
</html>