Code Injector - Bonk.io

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

2021-11-06 يوللانغان نەشرى. ئەڭ يېڭى نەشرىنى كۆرۈش.

ئاپتورى
Excigma
باھا نومۇرى
0 0 0
نەشرى
1.0.1
قۇرۇلغان ۋاقتى
2021-10-13
يېڭىلانغان ۋاقتى
2021-11-06
Size
3.6 KB
ئىجازەتنامىسى
يوق
قوللايدىغىنى

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