From 99240ed97fc494dfc1e4c2be062b64ca6c7b0446 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E8=89=AF?= <841369634@qq.com> Date: Thu, 18 Apr 2024 13:47:47 +0800 Subject: [PATCH] Update monkey.js --- github/monkey.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/github/monkey.js b/github/monkey.js index dd23e43..7fdfad3 100644 --- a/github/monkey.js +++ b/github/monkey.js @@ -11,7 +11,7 @@ * @homepageURL https://github.com/XIU2/UserScript * @sourceURL https://github.com/XIU2/UserScript/blob/master/GithubEnhanced-High-Speed-Download.user.js */ -window.addEventListener("load", () => { +document.addEventListener("DOMContentLoaded", () => { // 配置信息 const config = { "xiu2_menu_raw_fast": null,