-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtampermonkey.script.js
More file actions
33 lines (27 loc) · 886 Bytes
/
Copy pathtampermonkey.script.js
File metadata and controls
33 lines (27 loc) · 886 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// ==UserScript==
// @name Web Game Remote Saver for [game-name]
// @name:zh-CN 游戏进度远程保存 - [游戏名称]
// @namespace https://github.com/sslyc
// @version 2024-12-13
// @description Saving & loading game profile to/from remote server.
// @author sslyc
// @match *://[game-url]*
// @exclude *://[game-exclude-url-if-in-need]*
// @icon [game-logo-url]
// @grant GM_xmlhttpRequest
// @grant unsafeWindow
// @connect *
// @run-at document-end
// @sandbox none
// ==/UserScript==
/*
[paste content in saver.js here]
*/
/*
[paste content in [game-name].js here]
*/
(function() {
'use strict';
configSaver_[Game-Name]('[game-url]');
})();
// [TODO] Notice that, @match and @exclude in header should be changed to your own game host, and more @match and @exlude lines are allowed.