-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
134 lines (133 loc) · 8.92 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Primary Meta Tags -->
<title>Discord User ID Lookup Tool</title>
<meta name="title" content="Discord User ID Lookup Tool" />
<meta name="description" content="Look up a specific user on Discord with this tool. Sleek and nice. Copy and paste your Discord User Identifier and let our tool do the hard work." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://discordid.nealvos.nl/" />
<meta property="og:title" content="Discord User ID Lookup Tool" />
<meta property="og:description" content="Look up a specific user on Discord with this tool. Sleek and nice. Copy and paste your Discord User Identifier and let our tool do the hard work." />
<meta property="og:image" content="https://discordid.nealvos.nl/static/images/heroes/hero1.jpg" />
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content="https://discordid.nealvos.nl/" />
<meta property="twitter:title" content="Discord User ID Lookup Tool" />
<meta property="twitter:description" content="Look up a specific user on Discord with this tool. Sleek and nice. Copy and paste your Discord User Identifier and let our tool do the hard work." />
<meta property="twitter:image" content="https://discordid.nealvos.nl/static/images/heroes/hero1.jpg" />
<meta property="twitter:creator" content="@OfficialDragunV" />
<meta property="twitter:site" content="@OfficialDragunV" />
<link rel="stylesheet" href="./static/css/style.css">
<link rel="apple-touch-icon" sizes="180x180" href="/static/images/icons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/static/images/icons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="192x192" href="/static/images/icons/android-chrome-192x192.png">
<link rel="icon" type="image/png" sizes="16x16" href="/static/images/icons/favicon-16x16.png">
<link rel="manifest" href="site.webmanifest">
<link rel="mask-icon" href="/static/images/icons/safari-pinned-tab.svg" color="#5bbad5">
<link rel="shortcut icon" href="/static/images/icons/favicon.ico">
<meta name="msapplication-TileColor" content="#5865f2">
<meta name="msapplication-config" content="browserconfig.xml">
<meta name="theme-color" content="#5865f2">
<script id="Cookiebot" src="https://consent.cookiebot.com/uc.js" data-cbid="b1a8c441-a2f2-414e-8be6-ba153435454e" data-blockingmode="auto" type="text/javascript"></script>
</head>
<body data-bs-theme="dark">
<nav class="navbar navbar-expand-lg mb-4" style="box-shadow: unset; background-image: linear-gradient(#5865f2, #5865f2);">
<div class="container">
<a class="navbar-brand" href="/">Discord ID Lookup</a>
</div>
</nav>
<main>
<section class="container mb-5">
<h1 class="display-2">Discord ID Lookup</h1>
<p class="lead">Look up a specific user on Discord with this tool. Sleek and nice</p>
<p>This website is in no shape or form affiliated or owned by Discord. Although it implements their free to use API. We're still not Discord.</p>
<form action="lookup" method="POST" class="mb-3" autocomplete="off">
<div class="input-group form-floating">
<input type="text" name="discord_id" id="discord_id" class="form-control" placeholder="Discord ID" aria-describedby="submitBtn">
<label for="discord_id">Discord ID</label>
<button type="submit" class="btn btn-light" id="submitBtn">Check the ID</button>
</div>
</form>
<div id="output"></div>
<article class="my-3">
<p>
<strong>Reminder: </strong>
This application makes HTTP requests to Official Discord Servers. Bear in mind that their servers can go offline without any warning making this application not working. Neal Vos can not be held accountable for the following:
<ul>
<li>Data-loss</li>
<li>Server downtime</li>
<li>Server errors</li>
<li>API errors</li>
<li>API downtime</li>
<li>Incorrect information</li>
</ul>
Also the Discord API may return cookies. These cookies are not stored on our servers and are not used in any way on this application. We do not store any data from the API. We only use the API to get the information you requested. All the displayed information is client-sided and will be removed when you close the tab.
</p>
</article>
</section>
</main>
<footer>
<div class="container">
<p class="text-center">Made with ❤️ by <a href="https://nealvos.nl">Neal Vos</a> | Hosted by <a href="https://foxstudio.nl">Foxstudio Webdevelopment</a></p>
<p class="text-center">Copyright © <span id="year"></span> Neal Vos. All Rights Reserved</p>
</div>
</footer>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.min.js" integrity="sha384-cuYeSxntonz0PPNlHhBs68uyIAVpIIOZZ5JqeqvYYIcEL727kskC66kF92t6Xl2V" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/jquery-3.7.0.min.js" integrity="sha256-2Pmvv0kuTBOenSvLm6bvfBSSHrUJ+3A7x6P5Ebd07/g=" crossorigin="anonymous"></script>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-73QNDG24HE"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-73QNDG24HE');
</script>
<script>
$(document).ready(function() {
var d = new Date();
var n = d.getFullYear();
$("#year").html(n);
console.log("%cMade with ❤️ by Neal Vos", "color: #ED4245; font-size: 20pt; font-weight: bold; text-shadow: 1px 1px 1px #000000;");
console.log("%cBeware that copying and pasting from here will not help you further", "color: #5865F2; font-size: 10pt; font-weight: bold;");
console.log("%cIf you've found bugs, report them to discordbug@nealvos.nl", "color: #5865F2; font-size: 10pt; font-weight: bold;");
$("#output").hide();
$('form').submit(function(e) {
$("#discord_id").removeClass('is-invalid');
$("#submitBtn").prop('disabled', true);
$("#output").fadeOut(250);
$("#loading").fadeIn(250);
e.preventDefault();
if ($('#discord_id').val() == '') {
$("#discord_id").focus();
$("#discord_id").addClass('is-invalid');
$("#submitBtn").prop('disabled', false);
$("#output").html('<div class="alert alert-danger" role="alert">Please enter a Discord ID</div>').fadeIn(250);
return;
}
$.post({
type: "POST",
url: "lookup/index.php",
data: $(this).serialize(),
headers: {
'Content-Type': 'application/x-www-form-urlencoded'
},
success: function(response) {
if (response.status == 'success') {
$("#discord_id").addClass('is-valid');
$("#output").html('<div class="alert alert-success" role="alert" style="background: '+ response.data[0].banner_color +';"><h4>' + response.data[0].global_name + '</h4>Discord ID: ' + response.data[0].id + '<br>Username: <strong>@' + response.data[0].username + '</strong><br>Avatar: <img src="https://cdn.discordapp.com/avatars/' + response.data[0].id + "/" + response.data[0].avatar + '.png" alt="Avatar"><br>Current Badges: <span id="badges">'+ response.data[0].flags_listed +'</span></div>').fadeIn(250);
$("#submitBtn").prop('disabled', false);
} else {
$("#discord_id").focus();
$("#discord_id").addClass('is-invalid');
$("#output").html('<div class="alert alert-danger" role="alert">That ID seems not to be linked to a user profile. Check the ID and try again</div>').fadeIn(250);
$("#submitBtn").prop('disabled', false);
}
}
});
});
});
</script>
</body>
</html>