-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
executable file
·55 lines (50 loc) · 1.07 KB
/
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
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
<html>
<head>
<title>Site Spider Popup</title>
<style>
body {
font-family: sans-serif;
}
h1 {
font-size: smaller;
}
</style>
<script>
function pageLoaded() {
chrome.extension.getBackgroundPage().popupLoaded(document);
}
function clickGo() {
chrome.extension.getBackgroundPage().popupGo();
window.close();
}
</script>
</head>
<body onload="pageLoaded()">
<h1>Site Spider</h1>
<p>
Start on:<br>
<input id="start" size=40>
</p>
<p>
Restrict to:<br>
<input id="regex" size=40>
</p>
<p>
<input id="plusone" type="checkbox">
<label for="plusone">Follow one link beyond restriction.</label>
</p>
<p>
<input id="inline" type="checkbox">
<label for="inline">Check inline content.
<small><nobr>(CSS, JavaScript, images)</nobr></small></label>
</p>
<p>
<input id="arguments" type="checkbox">
<label for="arguments">Avoid links with arguments.
<small><nobr>(e.g. page?foo=bar)</nobr></small></label>
</p>
<p>
<input type="button" value="Go" id="go" onclick="clickGo()">
</p>
</body>
</html>