A LOSS

Bypass AWIN without sacrificing time

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name         A LOSS
// @namespace    none
// @version      1.0
// @description  Bypass AWIN without sacrificing time
// @match        *://*/*
// @run-at       document-start
// @grant        none
// @license      MIT
// ==/UserScript==

(function() {
    'use strict';

    const awinIndicators = [
        'awin',
        'awinaffid',
        'awc=',
        'affid=',
        'affiliate',
        'sv_campaign_id',
        'utm_source=awin',
        'utm_medium=awin'
    ];

    const url = new URL(window.location.href);
    const query = url.search.toLowerCase();
    const isAffiliate = awinIndicators.some(ind => query.includes(ind));
    if (!isAffiliate) return;

    document.documentElement.innerHTML = `
        <div style="position:fixed;top:0;left:0;width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;background:white;color:black;font-family:monospace;z-index:9999999;text-align:center;">
            <div style="font-size:24px;font-weight:bold;">Bypassing AWIN...</div>
            <pre style="font-size:10px;margin-top:20px;">
                            
                            ____________________________________
                    |                                                                |
                    |                                                                |
                    |          DEVELOPED BY DUCKY                                    |
                    |                                                                |
                     \\                                                              /
                       \\                                                          /
                           ----------------------        ---------------------
                                                  \\    /
                                                    \\ /

      ▓░░█                                       ░                                                  
 ░▒▒ ██▓██ ░▒▒▒▒▒▒▒▒░░▓█▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▒ ▒ ██  ▒▓▒▒▒▒▒▒▒▒▒█▒▒▒▒▒█▒█▒▒▓▒█░█▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒ 
 ░▒▒ ██▓▓█ ░▒▒▒▒▒▒▒░░▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓░░██░▓▒██░░▒▒▒▒▒▒▒▒▒▒█▓▒▒▒█▒█▒▒▒▒█░█▒▒▓▒▓▒▒▒▓▓▒▒▒▒▒▒▒▒▒▒ 
 ░▒▒ ██▓▓█ ░▒▒▒▒▒▒▒░█▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓░░█████▒▓██▓▓▒▒░▒▒▒▒▒▒▒▓▓▒▒█▒█▒▒▒▒█░█▒▒▒▒▒▒▒▒▒▒▒▓▓▒▒▒▒▒▒▒ 
 ░▒▒ ██▓▓█ ░▒▒▒▒▒▒░█▓░▓▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▒▒▒▒▒██░ ▒█▓░▓░▓█▒█▓▒▒▒▒▒▓▓██▓░█░▓▒▒▒▒█░█▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▒▒▓▒ 
 ░▒░ ██▓▓█ ░▒▒▒▒▒░░█ ▒███████▓▓▒▒░░░░░░▒█░▒▒█░░██▓▒░█▒  ░█▒░▒█▓▓▒ ▒▓█▓░▓▒▓▒▒█░█▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 
 ░▒▒ ██▓▓█  ▒▒▒▒▒░█░           ░▒░█▒▒▒▓█▒░███░▓████░███▒░▓██  ░     ▓██▓░▒▒▒█░█▒▒▒▒▒▒▒▓▒▒▒▒▒▒▒▒▒▒▒▒ 
 ░▒▒ ██▓▓█  ▒▒▒▒▒░█░░▒▓█████▓█▓▒░██▒▒█▓▒░███▒░█▓ ██▒░███▓▓███░██▓███░░██▓▒▒▒█░█░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▒▒ 
 ░▒▒ ██▓▓█  ▒▒▒▒▒░█▓▓▓▓▒▒▒▒▒▒█░░██░▒█░ ▒██▓ ▓██░░▒██▒▒███▒▒██▓░██░▓██░░▓██▒▒█▒█▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▒ 
 ░▒▒ ██▓▓█  ▒▒░▒░░▓▓▒▒▒▓▒▒▒░█░███░██  ███  ░██░ ░░██░  ███ ░███▓██░█▓█▒▒▒▓▓▒█░█▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▒▒ 
 ░▒▒ ██▓▓█  ░▒▒░░░▓▒▒▒▒▓▓░░▓███▓▒▒   ██░▒▒░██  ░ ▓██▒▒  █▒  ▒█████▓▓▓█▓▒▓▒▒▒█░█▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▒ 
 ░▒▒ ██▓▓█░ ▒▒▒▒░▒▓▒▒▒░▓█░░███░░████████ ░██  ░░ █ ▒█▓█████  ▓█ █▓▓█▓█░█▒▓▒▒█░█▒▒▒▒▒▓▓▒▓▒▓▒▒▓▒▒▒▒▒▒ 
 ░▒▒ ██▒▓█░ ▒▒▒▒░▒█▒▒▒▒██░██▓ ██ █░█▒██ ░░  ░░▒░░▓  ███▓██ ██░▒ ██▓▓▓█░█▒▓▒▒█░█▒▒▒▒▒▒▒▒▒▒▒▓▒▓▓▓▓▓▓▒ 
 ░▒▒ ██▓▓█░ ▒▒▒▒░░▓▒▒▓▒  ██▓ ██ ▒█░░░░█ ░░░░▒▒▒░░░░ ██▒░░██ ██  ███▒██░█░▓▒▒█░█▒▒▒▒▒▒▒▒▒▒▒▓▒▓▒▒▒▒▓▒ 
 ░▒▒ ██▓▓█░ ▒▒▒▒░░▓▓▓█░▓█░██  █ ░███▒▓█ ░▒▒▒▒▒▒▒▒▒░ ███░███ ██ ██▓█▓█▓▒▓▒▒▒▒█░█▒▒▒▒▒▒▒▓▒▒▓▒▒▓▒▒▓▓▓▒ 
 ░▒▒ ██▒▓█░ ▒▒▒▒░▒█▒▓▓ ▒█░██      ████  ░▒▒▒▒▒▒░░░░░ █████     ██ ▒▒░█▒█▒▓▒▒█░█▒▒▒▓▒▓▓▓▓▓▓▓▒▒▒▒▒▓▓▒ 
 ░▒▒ ██▓▓█  ░▒▒▒░░█▒▓▓   ▒██░ ░▒░      ░░░░░░▒░░▒█░░░  █  ░░░ ░█▓░█▓░█░█▒▓▒▒█░█▒▒▒▒▒▓▒▓▓▒▓▓▓▓▓▓▓▓▒ 
 ░▒▒ ██▓▓█  ▒▒▒░░░▓▓▒▓ ██▒▓█▓ ░▒▒░▓▒▒▒▒▓░▒▓▒░▒░▒██░░▒▒░  ░▒▒▓ ▒█░█▓▓▒█░█▒▓▒▒█░█▒▒▒▒▓▒▓▓▓▒▓▓▓▓▓▓▓▒ 
 ░▒▒ ▓█▓██  ▒░░░░░▓█▒▓▒  ▒░██ ░▒▒░█░▒░▒░░           ░▒▒░▒▒▒▒░ ██▓▓▓▒▒█░█▒▓▒▒█░█▒▒▒▒▓▒▓▓▓▒▓▓▓▓▓▓▓▓▒ 
 ░▒▒ ▓█▓▓█  ▒░░░ ░█▒▒▒▒██░ ░█░ ░░░░░░░░░▓███████████░░░░░░░░  ██▒▒▒▒▒█░█▒▒▒▒█░█▒▒▓▓▒▒▓▒▒▓▓▓▓▓▓▓▓▓▓▒ 
 ░▒▒ ▓█▓▓█ ░▒░░░ ▒█▒▒░▓████▓██  ░░░░▒▒▒ ▓███████▓██ ░▒▒▒▒░░  ▒██░█▒▒▒█░█▒▓▒▒█░█▒▒▓▓▓▒▒▓▒▒▒▒▓▓▓▓▓▓▓▒ 
 ░░░ ▓█▓▓█  ░░▒░░█▓▒░▒█▓▓▓█▓▓██░  ░░▒▒▒░ █░░░░░███░ ░▒▒░░   ██░█░█▒▒▒█░█▒▒▒▒█░█▒▒▓▒▒▒▓▓▒▒▒▓▓▓▒▓▓▓▓▒ 
 ░░░ ▓█▓▓█  ░░░ ░▓▒░░██▓▓█▓▓▒▓███▒  ░░▒░ █▓▒▓▒▒░▒█ ░▒░   ▒██▓█▒░░▒█▒░█░█▒▓▒▒█░█▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▒ 
      ██▓█      ██▓░██▓▓█▓█▓▓▓▓██▓██░  ░░░█▓▓▒▒▓█░ ░░ ▒█████▒█▓░░▒▓▓░█░█▒▓▒▒█░█▒▒▒▓▒▓▓▓▓▓▓▓▒▒▒▒▒▓▓▒ 
███████▓▓███████▒█░█████████████▓░▓░███    █████░ ░░█▓█░████████▒░▒█▒█░█▒▒▒▒█░█▒▒▒▓▓▒▓▓▓▒▓▓▓▓▓▓▓▓▓▒ 
▓████████████▒░▒█▒███▓    ░▓▒ ░░░░▒██▓████▓      █▓▓██▓▓█      ████▒▓█░█▒▓▓▒█░█▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ 
            ▒░▓████   ░▓▓░  ░▒▒█▓█▒    ▓█░▒██████▓░█░    ░▒▓▓░░░░ ░█▒█▒█▒▒▒▒█░█▒▒▒▒▒▓▒▓▓▒▓▓▓▓▓▓▓▓▒ 
 ░▒▒▒▒▒░░░██░▓███░ ░ ░  ░█▒▒░▒░█   ▓███▓██▒▒▒▒▒▓░███████▓▒░░░▒▓░█  ░█▒▒█▒▒▒▒█░█▒▒▓▒▒▓▒▒▓▓▒▓▓▓▓▒▓▓▒ 
 ▒▒▒▒▒▒░▓█▓░▓████  ░░█▓░  ▒▒░█ ░██▓      █▓▒▒▒▒▓░█     ░░░░░░░▓░█ ░ ▒█░▒▓▒▒▒█░█▒▒▒▓▒▒▓▓▓▓▓▓▓▓▓▓▓▒ 
           ░░░░░                                                     ░                              
            </pre>
        </div>
    `;

    const cleanUrl = url.origin + url.pathname + url.hash;
    setTimeout(() => {
        window.location.replace(cleanUrl);
    }, 500);
})();