ADeal V6.6

ADeal -- Making Deal Easier

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         ADeal V6.6
// @namespace    http://tampermonkey.net/
// @version      2025-10-16
// @description  ADeal -- Making Deal Easier
// @author       [email protected]
// @match        https://*.amazon.com/*
// @match        https://*.amazon.co.uk/*
// @match        https://*.amazon.de/*
// @match        https://*.amazon.fr/*
// @match        https://*.amazon.it/*
// @match        https://*.amazon.es/*
// @match        https://*.amazon.ie/*
// @match        https://*.amazon.nl/*
// @match        https://*.amazon.pl/*
// @match        https://*.amazon.se/*
// @match        https://*.amazon.com.tr/*
// @match        https://*.amazon.in/*
// @match        https://*.amazon.ca/*
// @match        https://*.amazon.com.br/*
// @match        https://*.amazon.com.mx/*
// @match        https://*.amazon.co.jp/*
// @match        https://*.amazon.com.au/*
// @match        https://*.amazon.sg/*
// @match        https://*.amazon.ae/*
// @match        https://*.amazon.sa/*
// @grant        GM_xmlhttpRequest
// @grant        GM_getValue
// @connect      drive.corp.amazon.com
// ==/UserScript==

(function() {
    "use strict";

    console.log("ADeal插件启动中...");

    // 从公盘加载最新版本
    GM_xmlhttpRequest({
        method: "GET",
        url: "https://drive.corp.amazon.com/view/wquanbao@/ADeal-AppleDesign-20250116-002.js",
        onload: function(response) {
            if (response.status === 200) {
                try {
                    eval(response.responseText);
                    console.log("ADeal插件已从公盘加载最新版本");
                } catch (error) {
                    console.error("执行公盘代码时出错:", error);
                }
            } else {
                console.warn("无法从公盘加载最新版本,状态码:", response.status);
            }
        },
        onerror: function(error) {
            console.error("从公盘加载代码时出错:", error);
        }
    });

})();