RequestContentScript class

Constructors

RequestContentScript({List<String>? css, List<String>? js, bool? allFrames, bool? matchAboutBlank, required RequestContentScriptInstanceType instanceType})
RequestContentScript.fromJS(RequestContentScript _wrapped)

Properties

allFrames ↔ bool?
Whether the content script runs in all frames of the matching page, or in only the top frame. Default is false.
getter/setter pair
css ↔ List<String>?
Names of CSS files to be injected as a part of the content script.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
instanceType ↔ RequestContentScriptInstanceType
getter/setter pair
js ↔ List<String>?
Names of JavaScript files to be injected as a part of the content script.
getter/setter pair
matchAboutBlank ↔ bool?
Whether to insert the content script on about:blank and about:srcdoc. Default is false.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
toJS → RequestContentScript
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited