-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
193 lines (171 loc) · 7.34 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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>YouTube Ad Muter</title>
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="libs/bootstrap.min.css">
<!-- Bootstrap Icons CSS -->
<link rel="stylesheet" href="images/bootstrap-icons/bootstrap-icons.css">
<style>
.card {
border-color: #007bff;
transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
transform: scale(1.05);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
</style>
</head>
<body>
<div class="container" style="width: 350px;margin-top: 10px;">
<div class="panel panel-default">
<div class="panel-heading">YouTube Ad Muter</div>
<div class="panel-body">
<div class="row">
<div class="col-md-6">
<div class="card">
<div class="card-body">
<div class="panel panel-default">
<div class="panel-heading">Metrics</div>
<div class="panel-body">
<p id="totalCount" class="card-text">Total Ad Mutes: 0</p>
<button id="loadDataButton" class="btn btn-primary btn-sm">
<i class="bi bi-arrow-clockwise"></i> Refresh Data
</button>
</div>
</div>
</div>
</div>
<div class="card">
<div class="card-body">
<div class="panel panel-default">
<div class="panel-heading">Extension Settings</div>
<div class="panel-body">
<h5 class="card-title">User Settings</h5>
<label>
<input type="checkbox" id="muteAdsEnable">
<i class="bi bi-volume-mute"></i> Mute Ads
</label>
<br>
<label>
<input type="checkbox" id="hideDistractingAds">
<i class="bi bi-eye-slash"></i> Hide Distracting Advertisements
</label>
<br>
<label>
<input type="checkbox" id="skipAdOption">
<i class="bi bi-skip-forward"></i> Skip Ad When Option is Given
</label>
<br>
<label>
<input type="checkbox" id="autoLikeEndVideo">
<i class="bi bi-hand-thumbs-up"></i> Auto-Like At The End of Video
</label>
<br>
<a id="downloadLink" href="#" style="display: none;">
<i class="bi bi-download"></i> Download Video
</a>
<!-- Add the new checkbox for Auto-Subscribe -->
<label>
<input type="checkbox" id="autoSubscribeCheckbox">
<i class="bi bi-bell"></i> Auto-Subscribe
</label>
</div>
</div>
</div>
</div>
<div id="screenshotPanel" class="panel panel-default" style="display: none;">
<div class="panel-heading">Reporting</div>
<div class="panel-body">
<div class="card">
<div class="card-body">
<h5 class="card-title">Muted Ad</h5>
<p>Screenshot of Muted Ad:</p>
<img id="screenshotImage" src="#" alt="Last Screenshot"
style="width: 100%; height: auto; cursor: pointer;">
<a id="downloadScreenshotLink" href="#" download="screenshot.png" style="display: none;">Download
Screenshot</a>
</div>
</div>
</div>
</div>
<!-- Bootstrap Modal -->
<div class="modal fade" id="screenshotModal" tabindex="-1" aria-labelledby="screenshotModalLabel"
aria-hidden="true">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="screenshotModalLabel">Screenshot</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<img id="modalScreenshotImage" src="#" alt="Screenshot" style="width: 100%; height: auto;">
</div>
</div>
</div>
</div>
<div class="card">
<div class="card-body">
<div class="panel panel-default">
<div class="panel-heading">Extension Support</div>
<div class="panel-body">
<h5 class="card-title">Support Requests</h5>
<a href="https://github.com/PuReWebDev/youtube-ad-muter/issues/new/choose" target="_blank">
<i class="bi bi-exclamation-circle"></i> Report An Issue
</a>
<br>
<a href="https://github.com/PuReWebDev/youtube-ad-muter/issues/new/choose" target="_blank">
<i class="bi bi-lightbulb"></i> Request New Features
</a>
</div>
</div>
</div>
</div>
<div class="card">
<div class="card-body">
<div class="panel panel-default">
<div class="panel-heading">Extension Contributions</div>
<div class="panel-body">
<h5 class="card-title">Financial Contributions</h5>
<p>If you find this extension useful, consider supporting its development:</p>
<a href="https://cash.app/$GenesisFont" target="_blank" class="btn btn-primary btn-sm">
<i class="bi bi-cup"></i> Donate via Cash App
</a>
<br />
<hr />
<h5 class="card-title">Code Contributions</h5>
<p>We welcome contributions from the community. If you would like to contribute, please follow
these
steps:</p>
<ol>
<li>Fork the repository</li>
<li>Create a new branch for your feature or bugfix</li>
<li>Make your changes</li>
<li>Submit a pull request</li>
</ol>
<p>For more details, please refer to the <a
href="https://github.com/PuReWebDev/youtube-ad-muter/blob/main/CONTRIBUTING.md"
target="_blank">contribution guidelines</a>.</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- jQuery -->
<script src="libs/jquery-3.5.1.min.js"></script>
<!-- Bootstrap JS -->
<script src="libs/bootstrap.min.js"></script>
<!-- React and ReactDOM -->
<script src="libs/react.development.js"></script>
<script src="libs/react-dom.development.js"></script>
<!-- Custom JS -->
<script type="module" src="popup.js"></script>
</body>
</html>