webkit.user_script

Module for [UserScript] class

Types 1

A JavaScript snippet which can be injected in loaded pages.

Methods
void * _cPtr(Flag!"Dup" dup = No.Dup)
GType _gType() @property
UserScript self()Returns `this`, for use in `with` statements.
webkit.user_script.UserScript newForWorld(string source, webkit.types.UserContentInjectedFrames injectedFrames, webkit.types.UserScriptInjectionTime injectionTime, string worldName, string[] allowList = null, string[] blockList = null)Creates a new user script for script world with name world_name.
Constructors
this(void * ptr, Flag!"Take" take)
this(string source, webkit.types.UserContentInjectedFrames injectedFrames, webkit.types.UserScriptInjectionTime injectionTime, string[] allowList = null, string[] blockList = null)Creates a new user script.