Code Injector - Bonk.io

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

当前为 2021-11-05 提交的版本,查看 最新版本

作者
Excigma
评分
0 0 0
版本
1.0.1
创建于
2021-10-13
更新于
2021-11-05
大小
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

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址