Update monkey.js

scripts
王良 2024-04-18 10:52:15 +08:00 committed by GitHub
parent 19dfd0532b
commit 5828742e45
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 8 deletions

View File

@ -11,14 +11,13 @@
* @homepageURL https://github.com/XIU2/UserScript * @homepageURL https://github.com/XIU2/UserScript
* @sourceURL https://github.com/XIU2/UserScript/blob/master/GithubEnhanced-High-Speed-Download.user.js * @sourceURL https://github.com/XIU2/UserScript/blob/master/GithubEnhanced-High-Speed-Download.user.js
*/ */
window.addEventListener("load", ()=> { window.addEventListener("load", () => {
const GM_registerMenuCommand = window.__ds_global__['GM_registerMenuCommand'] || (() => {}) const GM_registerMenuCommand = () => {}
const GM_unregisterMenuCommand = window.__ds_global__['GM_unregisterMenuCommand'] const GM_unregisterMenuCommand = () => {}
const GM_openInTab = window.__ds_global__['GM_openInTab'] const GM_openInTab = () => {}
const GM_getValue = window.__ds_global__['GM_getValue'] const GM_getValue = () => {}
const GM_setValue = window.__ds_global__['GM_setValue'] const GM_setValue = () => {}
const GM_notification = window.__ds_global__['GM_notification'] const GM_notification = () => {};
window.onurlchange = window.__ds_global__['window.onurlchange'];
(function() { (function() {
'use strict'; 'use strict';
var backColor = '#ffffff', fontColor = '#888888', menu_rawFast = GM_getValue('xiu2_menu_raw_fast'), menu_rawFast_ID, menu_rawDownLink_ID, menu_gitClone_ID, menu_feedBack_ID; var backColor = '#ffffff', fontColor = '#888888', menu_rawFast = GM_getValue('xiu2_menu_raw_fast'), menu_rawFast_ID, menu_rawDownLink_ID, menu_gitClone_ID, menu_feedBack_ID;