UserStyleSheet

class UserStyleSheet(val webkitUserStyleSheetPointer: <Error class: unknown class><<Error class: unknown class>>)(source)

A CSS style sheet which can be injected in loaded pages.

Since

2.6

Constructors

Link copied to clipboard
constructor(source: String, injectedFrames: UserContentInjectedFrames, level: UserStyleLevel, allowList: List<String>? = null, blockList: List<String>? = null)

Creates a new user style sheet.

constructor(source: String, injectedFrames: UserContentInjectedFrames, level: UserStyleLevel, worldName: String, allowList: List<String>? = null, blockList: List<String>? = null)

Creates a new user style sheet for script world.

constructor(webkitUserStyleSheetPointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val webkitUserStyleSheetPointer: <Error class: unknown class><<Error class: unknown class>>

Functions

Link copied to clipboard

Atomically increments the reference count of @user_style_sheet by one.

Link copied to clipboard
fun unref()

Atomically decrements the reference count of @user_style_sheet by one.