diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index a17bf81..f9901fb 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -17,133 +17,7 @@ amplitudes (for previous work)
-- it doesn't matter if you are in the UK or similar region that - currently has access to this, this will verify your account for the future global rollout in - march aswell as current. to use, simply paste this script into your discord console by going to - discord.com/app, pressing F12, going to Console - and copying and pasting and hitting enter on the following script and solving the captcha that pops - up - (typing "allow pasting" before if necessary): -
-
-// add a chunk to extract webpack's moduleCache
-let webpackRequire = webpackChunkdiscord_app.push([[Symbol()],{},(r) => r]);
-// cleanup the chunk we added
-webpackChunkdiscord_app.pop();
-
-let modules = webpackRequire.m;
-let cache = webpackRequire.c;
-
-// https://github.com/moonlight-mod/moonlight/blob/main/packages/core-extensions/src/spacepack/webpackModules/spacepack.ts
-// helper to find a webpack module via code snippet
-function findByCode(src) {
- for (const [id, mod] of Object.entries(modules)) {
- if (mod.toString().includes(src)) {
- return cache[id].exports;
- }
- }
-}
-
-// helper to find an object by its key
-function findObjectFromKey(exports, key) {
- if (!exports) return;
- for (const exportKey in exports) {
- const obj = exports[exportKey];
- if (obj && obj[key]) return obj;
- }
-}
-
-// https://github.com/moonlight-mod/moonlight/blob/main/packages/mappings/src/mappings/discord/utils/HTTPUtils.ts
-// find the discord api client
-const api = findObjectFromKey(
- findByCode('.set("X-Audit-Log-Reason",'),
- "patch",
-);
-
-// send a api request to discord /age-verification/verify and then redirect the page to our website
-const request = await api.post({
- url: "/age-verification/verify",
- body: { method: 3 },
-});
-const verificationUrl = request.body.verification_webview_url;
-window.location.href = `https://age-verifier.kibty.town/webview?url=${encodeURIComponent(verificationUrl)}`;
- - (feel free to read the code, we made it readable and we have nothing to hide) -
-- it should navigate to a link (or give you a link to navigate to), from there, you can just wait until the page says success -
-congrats! your discord account is now age verified.
- -- navigate to the age verification page and choose selfie, from there, get the url of the qr code - and put it in this input box, and press verify -
- -- your account has successfully been verified. go back to the site tab to continue -
- {:else if qrCodeError} -- {qrCodeError} -
- {/if} +this script doesn't work anymore and has been temporarily disabled while we're looking into a fix.