Greasy Fork

Greasy Fork is available in English.

BOBO米

try to take over the world!

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name         BOBO米
// @namespace    http://tampermonkey.net/
// @version      0.2
// @description  try to take over the world!
// @author       bossrush
// @match        https://event.mi.com/tw/double-11-2020/supersales
// @include      https://event.mi.com/tw/double-11-2020/*
// @grant        none
// @grant unsafeWindow
// ==/UserScript==
(function() {
    'use strict';
    function checkForMoniDisplayChange () {
        $(".J_couponArea[data-coupon-id=1618]").removeAttr("aria-disabled").click();
        $(".J_couponArea[data-coupon-id=1616]").removeAttr("aria-disabled").click();
        $(".J_couponArea[data-coupon-id=1617]").removeAttr("aria-disabled").click();
    }

window.setInterval (checkForMoniDisplayChange, 10);
alert ={}

})();