Aura drops Nice script

A simple nice script| Have fun

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==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);
  }
}

})();