-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
129 lines (116 loc) · 4.13 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>JSX - JavaScript Explorer</title>
<link rel="stylesheet" href="styles.css"/>
</head>
<body>
<div class="popup-container">
<!-- Title -->
<h2 class="app-title"></h2>
<!-- Tab Buttons -->
<div class="tabs">
<button class="tab-button active" data-target="js-section">JS Files</button>
<button class="tab-button" data-target="endpoints-section">Endpoints</button>
<button class="tab-button" data-target="all-links-section">All Links</button>
<button class="tab-button" data-target="mass-open-section">Mass Open</button>
</div>
<!-- JS FILES SECTION -->
<div id="js-section" class="tab-content active">
<h3 class="section-title" id="jsCountTitle">Found (0) .js Files</h3>
<div class="input-group">
<input
type="text"
id="jsFilterInput"
placeholder="Filter .js files..."
class="text-input"
/>
<button id="jsFilterBtn" class="action-btn">Filter</button>
</div>
<ul id="jsList" class="file-list"></ul>
<div class="buttons-container">
<button id="copyJsBtn" class="action-btn">Copy All</button>
<button id="downloadJsBtn" class="action-btn">Download All</button>
</div>
</div>
<!-- ENDPOINTS SECTION -->
<div id="endpoints-section" class="tab-content">
<h3 class="section-title" id="endpointsCountTitle">Found (0) Endpoints</h3>
<div class="input-group">
<input
type="text"
id="endpointsFilterInput"
placeholder="Filter endpoints..."
class="text-input"
/>
<button id="endpointsFilterBtn" class="action-btn">Filter</button>
</div>
<ul id="endpointsList" class="file-list"></ul>
<div class="buttons-container">
<button id="copyEndpointsBtn" class="action-btn">Copy All</button>
<button id="downloadEndpointsBtn" class="action-btn">Download All</button>
<button id="revealHiddenBtn" class="action-btn">Reveal Hidden</button>
</div>
</div>
<!-- ALL LINKS SECTION -->
<div id="all-links-section" class="tab-content">
<h3 class="section-title" id="allLinksCountTitle">Found (0) Links</h3>
<div class="input-group">
<input
type="text"
id="allLinksFilterInput"
placeholder="Filter links..."
class="text-input"
/>
<button id="allLinksFilterBtn" class="action-btn">Filter</button>
</div>
<ul id="allLinksList" class="file-list"></ul>
<div class="buttons-container">
<button id="copyAllLinksBtn" class="action-btn">Copy All</button>
<button id="downloadAllLinksBtn" class="action-btn">Download All</button>
</div>
</div>
<!-- MASS OPEN SECTION -->
<div id="mass-open-section" class="tab-content">
<h3 class="section-title">Mass Open Urls</h3>
<!-- Textarea with matching dark theme & hidden scrollbars -->
<textarea
id="massOpenTextarea"
class="massopen-textarea"
placeholder="Enter URLs, one per line..."
></textarea>
<!-- Find & Replace Input Fields + Button -->
<div class="input-group">
<input
type="text"
id="findText"
placeholder="Find..."
class="text-input"
/>
<input
type="text"
id="replaceText"
placeholder="Replace with..."
class="text-input"
/>
</div>
<!-- Button to open all URLs -->
<div class="buttons-container">
<button id="replaceAllBtn" class="action-btn">Replace All</button>
<button id="openAllBtn" class="action-btn">Open All</button>
</div>
</div>
<!-- END MASS OPEN SECTION -->
<!-- Author Info -->
<p id="author">
Created by
<a href="https://github.com/zebbern" target="_blank">zebbern</a>
</p>
</div>
<!-- Include JSZip to bundle JS files into a ZIP -->
<script src="jszip.min.js"></script>
<script src="popup.js"></script>
</body>
</html>