Drift.io Crate Opener

Let the script open all your crates while watching it(if you want to),rather than breaking ur fingers. Enjoy!

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name         Drift.io Crate Opener
// @namespace    https://greasyfork.org/en/users/1462379-3lectr0n-nj
// @version      V1
// @description  Let the script open all your crates while watching it(if you want to),rather than breaking ur fingers. Enjoy!
// @author       3lectr0N!nj@
// @match        https://drift.io/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=drift.io
// @grant        none
// ==/UserScript==
let t = 1
const crate = window.crate = {
openall(){
    setTimeout(() => {
     const cselt = "gOcOyMdf2AutWVy_1_Xr "
     document.getElementsByClassName(cselt)[0].click()
    },t )
    setTimeout(() => {
     const opcr = "VWYQMoyTvRvkDsmkeCaQ   oUNyBxqmLpE4HIQT6WpA"
     document.getElementsByClassName(opcr)[0].click()
    },t)
    setTimeout(() => {
     const claim = "VWYQMoyTvRvkDsmkeCaQ   Qcld8QuUkixtNmrv6LgL"
   document.getElementsByClassName(claim)[0].click()
    },t)
    setTimeout(() => {
        crate.openall()
    },t )
}
}