Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
如题,如何在kotlin中运行javascript函数,而且能获取运行结果
使用 Mozilla Rhino,参考:https://github.com/StageGuard/OsuMapSuggester/blob/main/src/main/kotlin/me/stageguard/obms/script/ScriptContext.kt
@stageguard 谢谢!