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>>)