Code Injector - Bonk.io

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

Ajankohdalta 26.10.2021. Katso uusin versio.

Tekijä
Excigma
Arvostelut
0 0 0
Versio
1.0.1
Luotu
13.10.2021
Päivitetty
26.10.2021
Size
3,63 kt
Lisenssi
N/A
Käytössä

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