-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
79 lines (71 loc) · 3.02 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>HAR File Analyzer</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/water.css@2/out/water.css">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<h1>HAR File Analyzer</h1>
<input type="file" id="fileInput" accept=".har">
<br>
<div class="buttonActions">
<div>
<label for="filter">Search Data:</label>
<input type="text" id="filter" placeholder="Enter search term...">
</div>
<div>
<button id="resetSelection">Reset Selection</button>
<button id="toggleExportType">Switch to Grouped Export</button>
<button id="toggleViewMode">Show Response Content Only</button>
</div>
</div>
<!-- Column toggles -->
<div id="columnToggles">
<strong>Toggle Columns:</strong>
<label><input type="checkbox" class="column-toggle" data-column="queryString" checked> Query String</label>
<label><input type="checkbox" class="column-toggle" data-column="url" checked> URL</label>
<label><input type="checkbox" class="column-toggle" data-column="startedDateTime" checked> Started
DateTime</label>
<label><input type="checkbox" class="column-toggle" data-column="method" checked> Method</label>
<label><input type="checkbox" class="column-toggle" data-column="status" checked> Status</label>
<label><input type="checkbox" class="column-toggle" data-column="statusText"> Status Text</label>
<label><input type="checkbox" class="column-toggle" data-column="time" checked> Time (ms)</label>
</div>
<table id="entriesTable">
<thead>
<tr>
<th data-column="select"><input type="checkbox" id="selectAll">
<div class="resizer"></div>
</th>
<th data-column="startedDateTime">Started DateTime<div class="resizer"></div>
</th>
<th data-column="method">Method<div class="resizer"></div>
</th>
<th data-column="url">URL<div class="resizer"></div>
</th>
<th data-column="queryString">Query String<div class="resizer"></div>
</th>
<th data-column="status">Status<div class="resizer"></div>
</th>
<th data-column="statusText">Status Text<div class="resizer"></div>
</th>
<th data-column="time">Time (ms)<div class="resizer"></div>
</th>
</tr>
</thead>
<tbody id="entriesBody">
</tbody>
</table>
<div class="stickyActionBar">
<button id="downloadSelected">Download Selected Entries</button>
</div>
<div id="searchResults" style="display:none;">
<h3>Search Results</h3>
<ul id="searchResultsList"></ul>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
<script src="script.js"></script>
</body>
</html>