Code Injector - Bonk.io

Allows different userscripts to define functions that modify the game's code

Verze ze dne 06. 11. 2021. Zobrazit nejnovější verzi.

Autor
Excigma
Hodnocení
0 0 0
Verze
1.0.1
Vytvořeno
13. 10. 2021
Aktualizováno
06. 11. 2021
Size
3,6 KB
Licence
neuvedeno
Spustit na

Code Injector - Bonk.io

Finds other userscripts that have defined their injectors in window.bonkCodeInjectors, and runs them

⚠️ Stability of this has not been thoroughly tested. Use extra caution if you are map making (take extra backups)

Credits to https://github.com/kklkkj for creating this system where multiple extensions can edit different parts of Bonk.io' code.

Much of the code below was copied from or inspired by https://github.com/kklkkj/kklee/blob/master/src/runInjectors.js

Go thank kklkkj for this userscript

This script does not add any changes by itself, you need to install other scripts alongside this.

List of scripts that work with this:

If you are making your own injector:

  • Make sure @run-at is document-start, so it runs before this script