-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
197 lines (177 loc) · 6.21 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
194
195
196
197
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box; /* Ensures padding and border are included in the element's total width and height */
}
body {
background-image: linear-gradient(to right, #c6ffdd, #fbd786, #f7797d);
font-family: Arial, sans-serif; /* Change the font family */
}
.container {
width: 400px;
margin: 20px auto; /* Center the container */
background-color: #fff; /* Add a background color */
border-radius: 10px; /* Add some border radius for rounded corners */
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
}
.title {
padding: 20px;
display: flex;
align-items: center;
justify-content: center;
border-bottom: 1px solid #ddd; /* Add a bottom border */
}
.title .icon {
width: 24px;
height: 24px;
}
.title .title-text {
margin-left: 10px;
font-size: 24px;
color: #333; /* Change title text color */
}
.author {
margin-bottom: 10px;
font-size: 14px;
text-align: center;
color: #666;
font-family: Arial, sans-serif;
text-transform: uppercase;
letter-spacing: 1px;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
transition: color 0.3s ease-in-out;
}
.author:hover {
color: #333;
transform: scale(1.1);
}
.menu-list .menu-item {
padding: 15px 20px; /* Increase padding */
text-align: center;
border-bottom: 1px solid #ddd;
cursor: pointer;
transition: background-color 0.3s ease; /* Add a smooth transition effect */
}
.menu-list .menu-item:hover {
background-color: #f9f9f9; /* Change background color on hover */
}
.hidden{
display: none !important;
}
.copy_success {
position: fixed;
display: flex;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.5);
align-items: center;
justify-content: center;
}
.copy_success .text {
font-size: 16px; /* Increase font size */
color: #fff;
text-align: center;
}
.introduction {
border-top: 1px solid #ddd;
padding: 20px;
font-size: 14px;
color: #444; /* Change introduction text color */
}
.introduction .warn {
color: #f50000;
font-style: italic; /* Change warning text style */
}
.social {
display: flex;
justify-content: center;
margin-top: 20px;
}
.social a {
text-decoration: none;
color: #333;
margin: 0 10px;
font-size: 18px;
transition: color 0.3s ease;
}
.social a:hover {
color: #007bff;
}
@import url("https://fonts.googleapis.com/css2?family=Russo+One&display=swap");
svg {
font-family: "Russo One", sans-serif;
width: 100%; height: 100%;
}
svg text {
animation: stroke 6s infinite alternate;
stroke-width: 2;
stroke: #365FA0;
font-size: 40px;
}
@keyframes stroke {
0% {
fill: rgba(72,138,204,0); stroke: rgba(54,95,160,1);
stroke-dashoffset: 25%; stroke-dasharray: 0 50%; stroke-width: 2;
}
70% {fill: rgba(72,138,204,0); stroke: rgba(54,95,160,1); }
80% {fill: rgba(72,138,204,0); stroke: rgba(54,95,160,1); stroke-width: 3; }
100% {
fill: rgba(72,138,204,1); stroke: rgba(54,95,160,0);
stroke-dashoffset: -25%; stroke-dasharray: 50% 0; stroke-width: 0;
}
}
.wrapper {background-color: #FFFFFF};
</style>
</head>
<body>
<textarea id="clipboard" class="hidden"></textarea>
<div class="container">
<div class="title">
<img class="icon" src="./icon128.png" />
<div class="title-text">Session Share</div>
</div>
<div class="wrapper">
<svg>
<text x="50%" y="50%" dy=".35em" text-anchor="middle">
Session Share
</text>
</svg>
</div>
<div class="menu-list">
<div class="menu-item" id="id_session_copy">Copy Session Information from This Page</div>
<div class="menu-item" id="id_session_paste">Paste Session Information to Open in New Tab</div>
</div>
<div class="introduction">
Sharing session information between pages can be useful for sharing accounts on various platforms like streaming services or online learning platforms.
<br><br>
<span class="warn">Please note:</span>
<br>
1. Only share with <span class="warn">trusted individuals</span> as sharing this information grants access to your account, which can be risky.
<br>
2. Avoid sharing sensitive accounts like <span class="warn">banking</span> details to prevent information leakage.
<br>
3. It's advisable to share accounts from the same IP address to avoid suspicion.
<br><br>
<span class="warn">If you wish to revoke access for all shared sessions, manually log out of your account and log back in.</span>
</div>
<div class="social">
<a href="https://github.com/mustkeem324">Github</a>
<a href="https://instagram.com/mustaqeeem_abad">Instagram</a>
</div>
<br>
<div class="author">By: Mustkeem Ahmad <a href="mailto:mustkeem324@gmail.com"><mustkeem324@gmail.com></a></div>
<div id="copy_success" class="copy_success hidden">
<div class="text">Copy successful! Share this page's session information with your friends and enjoy!</div>
</div>
</div>
<script type="text/javascript" src="lib/jquery-v3.3.1.min.js"></script>
<script type="text/javascript" src="popup.js"></script>
</body>
</html>