-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
67 lines (67 loc) · 1.91 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
<!DOCTYPE html>
<html>
<head>
<title>Javascript Injector</title>
<script src="popup.js"></script>
</head>
<body
style="
border: 1px solid lightgrey;
font-family: Arial, sans-serif;
background-color: #f2f2f2;
color: #333;
padding: 10px;
"
>
<div class="container container-fluid">
<div class="row">
<textarea
id="jscode"
cols="80"
rows="10"
placeholder="Please paste your JavaScript here, then click on Update."
style="
overflow: hidden;
margin-bottom: 10px;
border: 1px solid #ccc; /* Added border */
padding: 5px; /* Added padding */
resize: vertical; /* Allowing vertical resizing */
"
autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
></textarea>
</div>
<div class="row">
<textarea
id="path-pattern"
cols="80"
rows="1"
placeholder="URL path pattern"
style="
overflow: hidden;
margin-bottom: 10px;
border: 1px solid #ccc; /* Added border */
padding: 5px; /* Added padding */
resize: none; /* Disabling resizing */
"
autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
></textarea>
</div>
<div class="row">
<button
id="inject"
class="btn btn-default"
style="background-color: #333; color: #fff; padding: 10px 20px; border: none; cursor: pointer"
>
Update
</button>
<button
id="clear-storage"
class="btn btn-default"
style="background-color: #333; color: #fff; padding: 10px 20px; border: none; cursor: pointer"
>
Clear Extension Storage
</button>
</div>
</div>
</body>
</html>