webkit.user_script
Module for [UserScript] class
class UserScript
Types 1
classUserScript : gobject.boxed.Boxed
A JavaScript snippet which can be injected in loaded pages.
Methods
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(string source, webkit.types.UserContentInjectedFrames injectedFrames, webkit.types.UserScriptInjectionTime injectionTime, string[] allowList = null, string[] blockList = null)Creates a new user script.