Companion
object Companion
Functions
Link copied to clipboard
fun new(source: String, injectedFrames: UserContentInjectedFrames, level: UserStyleLevel, allowList: List<String>? = null, blockList: List<String>? = null): UserStyleSheet
Creates a new user style sheet.
Link copied to clipboard
fun newForWorld(source: String, injectedFrames: UserContentInjectedFrames, level: UserStyleLevel, worldName: String, allowList: List<String>? = null, blockList: List<String>? = null): UserStyleSheet
Creates a new user style sheet for script world.