-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
105 lines (97 loc) · 2.76 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
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
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>Full page screen catpure</title>
<!-- there are rendering bugs when styles aren't inline... -->
<style>
body {
font: normal 12px/16px helvetica,aria,sans-serif;
}
div,p { margin: 0; padding: 0; }
.clr { overflow: hidden; }
.left { float: left; }
.right { float: right; }
a {
color: #3681b3;
text-decoration: none;
}
a:hover { color: #265c80; }
a:active { color: #000; }
#wrap {
width: 300px;
padding-top: 9px;
font-size: 12px;
color: #888;
}
#wrap>div { display: none; }
#wrap>#loading { display: block; }
#loading .loader {
position: relative;
border-top: 12px dotted #000;
height: 9px;
}
#loading .bar {
position: absolute;
top: -21px;
left: 0;
height: 30px;
width: 0%;
background: #fff url(loader.gif) scroll no-repeat center right;
}
p { word-wrap: break-word; }
.warning {
margin-top: 1em;
color: #aa8d3b;
font-style: italic;
font-weight: bold;
}
.error {
margin-top: 1em;
font-weight: bold;
color: #b33;
}
.error a {
color: #f75;
}
</style>
</head>
<body>
<div id="wrap">
<div id="loading">
<div class="loader"><div class="bar" id="bar"></div></div>
<div class="clr">
<br>
<p>
Screen capture in progress, your finished image will open in a
new window once completed. Please wait for the progress bar to
finish.
</p>
</div>
</div>
<div id="split-image" class="warning">
Note: your page is too large for the Chrome browser to capture as
one image. It will be split into <span id="screenshot-count">multiple</span>
images.
</div>
<div id="invalid" class="error">
Full Page Screen Capture cannot be run on this type of URL
because of Google Chrome Web Store policies. Try
another page on the web.
</div>
<div id="uh-oh" class="error">
Uh oh, something went wrong! Try reloading the page,
verifying javascript is enabled,
and running this again.
<br><br>
If the problem persists, please report the error in the
<a href="https://chrome.google.com/webstore/support/fdpohaocaechififmbbbbbknoalclacl?hl=en&gl=US#bug">Chrome webstore</a>.
Please include the URL you tried it on and the
version of Chrome.
</div>
</div>
<!-- JavaScript and HTML must be in separate files for security. -->
<script src="api.js"></script>
<script src="popup.js"></script>
</body>
</html>