forked from cyan-2048/discordo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
36 lines (36 loc) · 1012 Bytes
/
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Discordo</title>
<script src="qrcode.min.js"></script>
<script src="app.js" defer></script>
</head>
<body>
<h2>Welcome to Discordo!</h2>
<p>this will make getting your discord token easier!</p>
<pre>
(() => {
window.dispatchEvent(new Event("beforeunload"));
let iframe = document.createElement("iframe");
document.body.appendChild(iframe);
let token = JSON.parse(iframe.contentWindow.localStorage.token);
window.open("https://cyan-2048.github.io/discordo/#token=" + encodeURIComponent(token), "_blank");
iframe.remove();
})();
</pre
>
<p>open discord in your browser, login, open devtools/console, paste this code and hit enter!</p>
<div id="qrcode"></div>
</body>
<style>
body > *:not(pre) {
user-select: none;
}
body {
padding: 20px;
}
</style>
</html>