Code Injector - Bonk.io

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

As of 20.11.2021. See the latest version.

These are versions of this script where the code was updated. Show all versions.

  • v1.0.4 22.11.2021

    Fixed incompatibility with browser extensions that have their own loadInjectors, sorry :(

  • v1.0.3 20.11.2021

    Whoops, now checks if the appended child is of type

  • v1.0.2 14.11.2021
    • Refactored to remove some permissions.
    • Improved compatibility with something else :)
    • Improved error checking/catching, renamed "alpha2s.js" to "game code" in user-facing prompts
    • Added more comments
    • Added timer for patching
    • Changed color of console output to green
  • v1.0.1 19.10.2021

    Fixed: "@Excigma your userscript mod loader throws an bonkCodeInjectors is undefined error if you don't have any userscript mods enabled"

    Thanks kklkkj

  • v1.0.0 13.10.2021