Posted on Leave a comment

What’s “Prepend Script”?

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)
Leave a Reply

Your email address will not be published. Required fields are marked *