-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpopup.html
76 lines (75 loc) · 2.36 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>DRMStuff Chrome CDM Decryptor</title>
<link rel="shortcut icon" href="icon.png" type="image/x-icon">
<style>
body {
background-image: url('background.gif');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
.box {
width: 675px;
padding: 15px;
border: 2px solid black;
margin: 20px auto 0 auto;
}
.text-box {
width: 100%;
height: 250px;
margin-bottom: 10px;
resize: none;
overflow: auto;
white-space: nowrap;
background-color: transparent;
color: white;
white-space: pre;
border: 1px solid white; /* Add border back */
outline: none; /* Keep the border unchanged when clicked */
}
button {
background-color: transparent;
color: white;
border: none;
padding: 5px 10px;
cursor: pointer;
}
button:hover {
background-color: rgba(255, 255, 255, 0.2);
}
/* Remove scroll bar */
.text-box::-webkit-scrollbar {
width: 0;
background: transparent;
}
/* Add Telegram icon */
.telegram-icon {
display: inline-block;
width: 25px;
height: 25px;
vertical-align: top;
}
.telegram-link {
display: inline-block;
vertical-align: top;
}
</style>
</head>
<body>
<div class="box">
<textarea class="text-box" id="keyInput" readonly></textarea>
<button id="copyKeys">Copy Decryption Keys to Clipboard</button>
<button id="copyUrl">Copy Stream Url(s) to Clipboard</button>
<button id="downloadButton">Download All as JSON</button>
<button id="exitButton">Exit</button>
<a class="telegram-link" href="https://t.me/DRMStaff" target="_blank">
<img class="telegram-icon" src="telegram.png" alt="Telegram">
</a>
</div>
<script src="script.js"></script>
</body>
</html>