Aura drops Nice script

A simple nice script| Have fun

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

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

})();