Aura drops Nice script

A simple nice script| Have fun

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

You will need to install an extension such as Tampermonkey to install this script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

// ==UserScript==
// @name         Aura drops Nice script
// @namespace    http://tampermonkey.net/
// @version      1.0
// @grant        GM_setValue
// @match        https://*.gg/*
// @match        https://*.auradroppers.com/*
// @grant        GM_getValue
// @license      iron web10 2026
// @description  A simple nice script| Have fun
// @icon         https://www.google.com/s2/favicons?domain=auradroppers.com&sz=128

// ==/UserScript==

(async () => {
'use strict';

const BASE = 'https://auradroppers.com/account';
const FLOW_KEY = 'activeFlowId';

const HOST_A = 'auradroppers.com';
const HOST_B = atob('bGlua3MubG9vdGxhYnMuZ2c=');
const allowed = [HOST_A, HOST_B];
if (!allowed.some(h => location.hostname.includes(h))) return;

if (location.hostname.includes(HOST_A)) {
  const m = location.pathname.match(/^\/account\/(\d+)/);
  if (m) await GM_setValue(FLOW_KEY, m[1]);
  return;
}

if (location.hostname.includes(HOST_B)) {
  const id = await GM_getValue(FLOW_KEY, null);
  await GM_setValue(FLOW_KEY, null);

  if (id) {
    setTimeout(() => {
      location.href = `${BASE}/${id}/locker-complete`;
    }, 3000);
  }
}

})();