-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheaders.html
More file actions
67 lines (57 loc) · 1.17 KB
/
Copy pathheaders.html
File metadata and controls
67 lines (57 loc) · 1.17 KB
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
<!--
// JS Capture
// Author: Shauvik Roy Choudhary (shauvik@gatech.edu)
// Some code re-used from the Open Source Live Headers extension sample
// License: BSD style
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-->
<html>
<head>
<style>
body {
font-family: monospace;
word-wrap: break-word;
}
#container {
white-space: pre;
}
#menu {
border-bottom: 1px dotted;
padding: 10px;
}
.script {
border: 1px solid black;
margin-bottom: 10px;
}
.event {
border: 1px solid red;
margin-bottom: 10px;
}
.hidden {
display: none;
}
.parsedjs:hover{
font-weight:bold;
text-decoration:underline;
cursor: pointer;
}
#output {
background-color: lightyellow;
}
</style>
<script src="FileSaver.min.js"></script>
<script src="headers.js"></script>
</head>
<body>
<div id="output"></div>
<div id="menu">
<b>Browser: </b>
<input type="radio" name="br" id="br_desktop" checked> Desktop
<input type="radio" name="br" id="br_mobile"> iPhone
<input type="text" size="30" id="file_name" name="file_name" placeholder="filename">.json
<button id="save">Save</button>
<button id="clear">Clear</button>
</div>
<div id="container"></div>
</body>
</html>