更新 '.user.js'

This commit is contained in:
2023-03-01 20:21:53 +00:00
parent fa6c053faf
commit e1a2e17c62
+4 -4
View File
@@ -1,12 +1,12 @@
// ==UserScript== // ==UserScript==
// @name TheResMore-Helper // @name TheResMore-Helper
// @version 1.0 // @version 1.0
// @namespace https://git.koderx.com/koderx/theresmore_helper // @namespace https://raw.koderx.com/koderx/theresmore_helper
// @updateURL https://git.koderx.com/koderx/theresmore_helper/raw/branch/main/.user.js // @updateURL https://raw.koderx.com/koderx/theresmore_helper/.user.js
// @description Automate TheResMore! // @description Automate TheResMore!
// @author KoderX // @author KoderX
// @include *theresmoregame.g8hh.com // @include *theresmoregame.g8hh.com
// @connect *git.koderx.com/koderx/theresmore_helper* // @connect *raw.koderx.com/koderx/theresmore_helper*
// @connect *theresmoregame.g8hh.com* // @connect *theresmoregame.g8hh.com*
// @connect self // @connect self
// @grant GM_xmlhttpRequest // @grant GM_xmlhttpRequest
@@ -15,7 +15,7 @@
var script = document.createElement('script'); var script = document.createElement('script');
script.id = 'TheResMore-Helper'; script.id = 'TheResMore-Helper';
//This can be edited to point to your own Github Repository URL. //This can be edited to point to your own Github Repository URL.
script.src = 'https://git.koderx.com/koderx/theresmore_helper/raw/branch/main/main.js'; script.src = 'https://raw.koderx.com/koderx/theresmore_helper/main.js';
//script.setAttribute('crossorigin',"use-credentials"); //script.setAttribute('crossorigin',"use-credentials");
script.setAttribute('crossorigin',"anonymous"); script.setAttribute('crossorigin',"anonymous");
document.head.appendChild(script); document.head.appendChild(script);