Code Injector - Bonk.io

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

Verzia zo dňa 08.11.2021. Pozri najnovšiu verziu.

Autor
Excigma
Hodnotenie
0 0 0
Verzia
1.0.1
Vytvorené
13.10.2021
Aktualizované
08.11.2021
Veľkosť
3,6 KB
Licencia
neuvedené
Spustiť na

Code Injector - Bonk.io

You do not need this if you have any of kklee, bonk-vtol, bonk-playlists, bonk-host, or bonk-death-grapple installed as a browser extension (not userscript)

This script finds other userscripts that have defined their injectors in window.bonkCodeInjectors, and runs them

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 userscripts does not add any features to bonk by itself, you need to install other scripts alongside this for new features.

List of userscripts that work with this (They are not written by me):

If you are making your own injector:

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