-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathminimap.user.js
29 lines (28 loc) · 1.07 KB
/
minimap.user.js
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
// ==UserScript==
// @name r/Place MLP Minimap 🇺🇦 #StandWithUkraine
// @namespace http://tampermonkey.net/
// @description MLP Minimap r/Place
// @include https://hot-potato.reddit.com/embed*
// @version 0.4
// @grant GM.xmlHttpRequest
// @author Ponywka, bb010g
// @license Apache-2.0 OR ISC
// @downloadURL https://raw.githubusercontent.com/r-ainbowroad/2022-minimap/d/main/minimap.user.js
// @updateURL https://raw.githubusercontent.com/r-ainbowroad/2022-minimap/d/main/minimap.user.js
// @connect raw.githubusercontent.com
// @connect media.githubusercontent.com
// @require https://unpkg.com/[email protected]
// ==/UserScript==
// SPDX-FileCopyrightText: 2022 Ponywka
// SPDX-License-Identifier: Apache-2.0 OR ISC
const _TamperRoot = this;
(async function () {
// Updater
GM.xmlHttpRequest({
method: "GET",
url: `https://raw.githubusercontent.com/r-ainbowroad/2022-minimap/d/main/minimap.impl.user.js?t=${new Date().getTime()}`,
onload: function (res) {
new Function(res.responseText)(_TamperRoot);
},
});
})();