forked from holychikenz/ISMonkey
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathismonkey.user.js
45 lines (44 loc) · 2.44 KB
/
ismonkey.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
// ==UserScript==
// @name ISMonkeyLoader
// @version 0.5.16
// @description ISMonkey Extension Loader
// @author Holychikenz
// @namespace ISMonkey
// @updateURL https://raw.githubusercontent.com/holychikenz/ISMonkey/main/ismonkey.user.js
// @downloadURL https://raw.githubusercontent.com/holychikenz/ISMonkey/main/ismonkey.user.js
// @match *://*.idlescape.com/*
// @require https://raw.githubusercontent.com/HighOnMikey/idlescape-socketio-listener/main/src/idlescape-listener.js
// @require https://raw.githubusercontent.com/holychikenz/ISMonkey/main/src/ISMonkey.js
// @require https://raw.githubusercontent.com/holychikenz/ISMonkey/main/extensions/playerdata.js
// @require https://raw.githubusercontent.com/holychikenz/ISMonkey/main/extensions/dungeoneering.js
// @require https://raw.githubusercontent.com/holychikenz/ISMonkey/main/extensions/loottracking.js
// @require https://raw.githubusercontent.com/holychikenz/ISMonkey/main/extensions/foodinfo.js
// @require https://raw.githubusercontent.com/holychikenz/ISMonkey/main/extensions/injectcss.js
// @require https://raw.githubusercontent.com/holychikenz/ISMonkey/main/extensions/jiggyslide.js
// @require https://raw.githubusercontent.com/holychikenz/ISMonkey/main/extensions/animationcancel.js
// @require https://raw.githubusercontent.com/holychikenz/ISMonkey/main/extensions/runecrafting.js
// @require https://raw.githubusercontent.com/holychikenz/ISMonkey/main/extensions/smithing.js
// @require https://raw.githubusercontent.com/platinumscott/ISMonkey/main/extensions/statistics.js
// @run-at document-start
// @grant none
// ==/UserScript==
(function(){
IdlescapeSocketListener.attach();
// ISMonkeyLoader Extensions
var ismonkey = new ISMonkey();
var options = {};
// Preload
ismonkey.addSocketExtension( PlayerData, options );
// Socket Listeners
ismonkey.addSocketExtension( Dungeoneering, options );
ismonkey.addSocketExtension( LootTracking, options );
ismonkey.addSocketExtension( Statistics, options );
// Mutation Observers / Async Extensions
ismonkey.addAsyncExtension( FoodInfo, options );
ismonkey.addAsyncExtension( InjectCSS, options );
ismonkey.addAsyncExtension( JiggySlide, options );
ismonkey.addAsyncExtension( AnimationCancel, options );
ismonkey.addAsyncExtension( Runecrafting, options );
ismonkey.addAsyncExtension( Smithing, options );
// Callback Queue
})();