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) nothrow
GType _getGType() static nothrow
GType _gType() @property nothrow
UserScript self() nothrowReturns `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) static nothrowCreates 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.