-
Notifications
You must be signed in to change notification settings - Fork 173
Expand file tree
/
Copy pathfc_userscript_loader.user.js
More file actions
22 lines (20 loc) · 905 Bytes
/
fc_userscript_loader.user.js
File metadata and controls
22 lines (20 loc) · 905 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// ==UserScript==
// @name Frozen Cookies
// @version github-latest
// @description Userscript to load Frozen Cookies
// @author Icehawk78
// @homepage https://github.com/icehawk78/FrozenCookies
// @include http://orteil.dashnet.org/cookieclicker/
// @include https://orteil.dashnet.org/cookieclicker/
// @updateURL https://icehawk78.github.io/FrozenCookies/fc_userscript_loader.user.js
// @downloadURL https://icehawk78.github.io/FrozenCookies/fc_userscript_loader.user.js
// ==/UserScript==
// Source: https://github.com/Icehawk78/FrozenCookies/main/
// Github.io: http://icehawk78.github.io/FrozenCookies/
var loadInterval = setInterval(function () {
const Game = unsafeWindow.Game;
if (Game && Game.ready) {
clearInterval(loadInterval);
Game.LoadMod("https://icehawk78.github.io/FrozenCookies/frozen_cookies.js");
}
}, 1000);