Code Injector - Bonk.io

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

Mint 2021.10.26.. Lásd a legutóbbi verzió

Fejlesztő
Excigma
Értékelések
0 0 0
Verzió
1.0.1
Létrehozva
2021.10.13.
Frissítve
2021.10.26.
Size
4 KB
Licensz
Ismeretlen
Érvényes

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