-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
102 lines (101 loc) · 2.77 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
<!DOCTYPE html>
<html>
<head>
<title>Input List</title>
<link rel="stylesheet" href="./popup.css" />
</head>
<body>
<h1>Advanced Reddit Filters</h1>
<!-- Nuke -->
<div class="nukeSection">
<h3 class="nukeTitle">Nuke Current Thread?</h3>
<div class="buttonWrapper">
<div class="nukeButton">
<a style="color: #ff0066"></a>
</div>
<div class="nukeButton1"></div>
</div>
<p id="nukeDescription">
The author and all commentors will be added to your user block list.
</p>
</div>
<!-- Users -->
<div>
<div class="toggle">
<h2>Blocked Users</h2>
<label class="switch">
<input type="checkbox" id="blockUsers" checked />
<span class="slider round"></span>
</label>
</div>
<textarea
class="inputList"
id="userList"
placeholder="Enter each user on a new line"
></textarea>
</div>
<!-- Keywords -->
<div>
<div class="toggle">
<h2>Blocked Keywords</h2>
<label class="switch">
<input type="checkbox" id="blockKeywords" checked />
<span class="slider round"></span>
</label>
</div>
<textarea
class="inputList"
id="keywordList"
placeholder="Enter each keyword on a new line"
></textarea>
</div>
<!-- Subreddits -->
<div>
<div class="toggle">
<h2>Blocked Subreddits</h2>
<label class="switch">
<input type="checkbox" id="blockSubreddits" checked />
<span class="slider round"></span>
</label>
</div>
<textarea
class="inputList"
id="subredditList"
placeholder="Enter each subreddit on a new line"
></textarea>
</div>
<!-- Domains -->
<div>
<div class="toggle">
<h2>Blocked News Domains</h2>
<label class="switch">
<input type="checkbox" id="blockDomains" checked />
<span class="slider round"></span>
</label>
</div>
<textarea
class="inputList"
id="domainList"
placeholder="Enter each domain on a new line"
></textarea>
</div>
<!-- Logging Preferences -->
<div class="end">
<div class="smallToggle">
<h3>Print Logs?</h3>
<label class="switch small">
<input type="checkbox" id="loggingEnabled" checked />
<span class="slider round small"></span>
</label>
</div>
<div class="smallToggle">
<h3>Expand Images?</h3>
<label class="switch small">
<input type="checkbox" id="expandImages" checked />
<span class="slider round small"></span>
</label>
</div>
</div>
<script src="popup.js"></script>
</body>
</html>