What’s “Prepend Script”?
lancex
There is an option in Rule -> Advance named Prepend Script. The script you put in will be triggered together with other scripts each time.
So you can:
- Add some code to debug.
- Enhance the script ability.
- Add some util libraries.
- Although we support most of the APIs, some of the scripts use global variables to check the App type, so we can pretend as other runtime, for example Rocket(_https://shadowboat.app/lancex/module/rocket.js_)
- …