-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
188 lines (165 loc) · 7.48 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-M4BJB5TSW5"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-M4BJB5TSW5');
</script>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8529671337977750"
crossorigin="anonymous"></script>
<title>Rickroll Bookmarks</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap');
* {
font-family: "Roboto";
}
body {
background-color: #202124;
margin: 0;
padding: 0;
color: whitesmoke;
}
.title {
text-align: center;
font-size: 50px;
margin: 20px;
margin-bottom: 50px;
user-select: none;
font-weight: 500;
}
.button {
position: relative;
width: 270px;
height: 47px;
border: 1px solid rgb(95, 99, 104);
color: rgb(255, 138, 138);
background: rgba(200, 75, 75, 0.08);
border-radius: 6px;
margin: 20px auto;
display: flex;
justify-content: center;
align-items: center;
font-size: 24px;
user-select: none;
font-weight: 500;
}
.button:active {
background: rgba(200, 75, 75, 0.25);
}
.button-text {
opacity: 0;
user-select: none;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
height: 100%;
width: 100%;
}
.button-note {
margin: 0 auto;
text-align: left;
color: rgb(255, 158, 158);
width: fit-content;
/* user-select: none; */
}
.info {
margin: 0 auto;
text-align: center;
color: rgb(255, 158, 158);
width: fit-content;
}
body[unpaid] .premium {
display: none;
}
body[unpaid] #hcaptcha {
display: block;
}
#hcaptcha {
display: none;
}
body[unpaid] .notice {
display: block;
}
.notice {
display: none;
}
</style>
<script src="https://js.hcaptcha.com/1/api.js" async defer></script>
<script async src="https://arc.io/widget.min.js#Z9ALPnyd"></script>
</head>
<body unpaid>
<div class="title">Rickroll Bookmarks</div>
<div class="info">Rickroll Bookmarks is your home for the best bookmarks prank of all time. <br>This prank is not only harmless as (in most cases) it is reversible, <br>but also capable of creating an unexpected Rickroll that will catch your victim off guard when they attempt to use any of their bookmarks!</div>
<br>
<div class="bookmarklet button premium">Rickroll Bookmarks<a
href="javascript:window.chrome%3Dopener.window.chrome%2Cchrome.bookmarks.getTree%28%28o%3D%3E%7B%21function%20o%28e%29%7Be.forEach%28%28e%3D%3E%7Be.unmodifiable%7C%7C%28e.children%3Fo%28e.children%29%3A%22Rickroll%20Bookmarks%22%3D%3De.title%3Fchrome.bookmarks.update%28e.id%2C%7Btitle%3A%22What%20happened%20to%20my%20bookmarks%3F%22%2Curl%3A%22https%3A%2F%2Frickrollbookmarks.gq%2Fpranked%2F%22%7D%29%3Ae.url%26%26void%200%21%3D%3De.id%26%26chrome.bookmarks.update%28e.id%2C%7Burl%3A%22https%3A%2F%2Fwww.yout-ube.com%2Fwatch%3Fv%3DdQw4w9WgXcQ%26restore%3D%22%2BencodeURIComponent%28e.url%29%7D%29%29%7D%29%29%7D%28o%29%2Calert%28%22The%20deed%20is%20done.%22%29%7D%29%29%3B"
class="button-text">Rickroll Bookmarks</a></div>
<div class="bookmarklet button premium">UnRickroll Bookmarks<a
href="javascript:window.chrome%3Dopener.window.chrome%2Cchrome.bookmarks.getTree%28%28e%3D%3E%7B%21function%20e%28r%29%7Br.forEach%28%28r%3D%3E%7Br.unmodifiable%7C%7C%28r.children%3Fe%28r.children%29%3Ar.url%26%26void%200%21%3D%3Dr.id%26%26new%20URLSearchParams%28r.url%29.get%28%22restore%22%29%26%26chrome.bookmarks.update%28r.id%2C%7Burl%3Anew%20URLSearchParams%28r.url%29.get%28%22restore%22%29%7D%29%29%7D%29%29%7D%28e%29%2Calert%28%22The%20deed%20is%20undone.%22%29%7D%29%29%3B"
class="button-text">UnRickroll Bookmarks</a></div>
<div class="button-note premium">
<h2 id="to-use-">To use:</h2>
<ol>
<li>Drag the Rickroll Bookmarks button into your bookmarks bar</li>
<li>Visit <code>chrome://bookmarks</code></li>
<li>Click the three dots in the upper right <img src="./three-dot-menu.png?raw=true"
alt="image of the three dots in the upper right" title="The Three Dot Menu"></li>
<li>Click help center and then instantly begin to spam the escape key <img src="./help-center.png?raw=true"
alt="image of the help center button" title="The Help Center Button"></li>
<li>You should load into a blank page, at that point stop spamming escape</li>
<li>Click the bookmark</li>
</ol>
<h2 id="to-use-">To un-use:</h2>
<ol>
<li>Drag the UnRickroll Bookmarks button into your bookmarks bar</li>
<li>Visit <code>chrome://bookmarks</code></li>
<li>Click the three dots in the upper right <img src="./three-dot-menu.png?raw=true"
alt="image of the three dots in the upper right" title="The Three Dot Menu"></li>
<li>Click help center and then instantly begin to spam the escape key <img src="./help-center.png?raw=true"
alt="image of the help center button" title="The Help Center Button"></li>
<li>You should load into a blank page, at that point stop spamming escape</li>
<li>Click the bookmark</li>
</ol>
</div>
<br>
<div class="notice info">Complete the captcha to reveal the instructions.</div>
<br>
<div id="hcaptcha" class="info"></div>
<script>
document.querySelectorAll(".bookmarklet").forEach(elem => {
elem.addEventListener("click", ev => {
ev.preventDefault();
alert("Don't click it, drag it to your bookmarks bar!");
});
})
window.addEventListener('load', () => {
function hcallback(data) {
console.log(hcaptcha.getResponse(captcha))
document.body.removeAttribute("unpaid");
}
let captcha = hcaptcha.render('hcaptcha', {
sitekey: 'e8942f7a-3d97-47d0-b332-477e93f687be',
theme: 'dark',
callback: hcallback
});
});
</script>
<br>
<div class="info">We are not responsible for destruction of property, anger, fear, regret, injury, or
anything related to or caused by the use of this product. <br>The user assumes all responsibility.</div>
<br>
<div class="info"><a href="https://github.com/SpaceSaver/Rickroll-Bookmarks" target="_blank">Rickroll
Bookmarks repository</a></div>
<br>
<div class="info">© SpaceSaver 2023</div>
</body>
</html>