package ezjs_extension

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
class type condition = object ... end
class type action = object ... end
class type pageUrl = object ... end
class type pageStateMatcher = object ... end
class type rule = object ... end
class type declarativeEvent = object ... end
class type declarativeContent = object ... end
val declarativeContent : declarativeContent Ezjs_min.t
val make_pageUrl : ?hostContains:string -> ?hostEquals:string -> ?hostPrefix:string -> ?hostSuffix:string -> ?pathContains:string -> ?pathPrefix:string -> ?pathSuffix:string -> ?queryContains:string -> ?queryEquals:string -> ?queryPrefix:string -> ?querySuffix:string -> ?urlContains:string -> ?urlEquals:string -> ?urlMatches:string -> ?originAndPathMatches:string -> ?urlPrefix:string -> ?urlSuffix:string -> ?schemes:string list -> ?ports:int Ezjs_min.js_array Ezjs_min.t -> unit -> pageUrl Ezjs_min.t
val make_pageStateMatcher : ?pageUrl:pageUrl Ezjs_min.t -> ?css:string list -> ?isBookmarked:bool -> unit -> pageStateMatcher Ezjs_min.t
val make_condition : ?hostContains:string -> ?hostEquals:string -> ?hostPrefix:string -> ?hostSuffix:string -> ?pathContains:string -> ?pathPrefix:string -> ?pathSuffix:string -> ?queryContains:string -> ?queryEquals:string -> ?queryPrefix:string -> ?querySuffix:string -> ?urlContains:string -> ?urlEquals:string -> ?urlMatches:string -> ?originAndPathMatches:string -> ?urlPrefix:string -> ?urlSuffix:string -> ?schemes:string list -> ?ports:int Ezjs_min.js_array Ezjs_min.t -> ?css:string list -> ?isBookmarked:bool -> unit -> condition Js_of_ocaml.Js.t
val showPageAction : unit -> action Js_of_ocaml.Js.t
val setIcon : string -> action Js_of_ocaml.Js.t
val requestContentScript : ?css:string list -> ?js:string list -> ?allFrames:bool -> ?matchAboutBlank:bool -> unit -> action Js_of_ocaml.Js.t
val make_rule : ?id:string -> ?priority:int -> condition Ezjs_min.t list -> action Ezjs_min.t list -> rule Ezjs_min.t
val addRules : rule Ezjs_min.t list -> ('a Ezjs_min.t -> unit) -> unit
val removeRules : ?ids:string list -> ('a Ezjs_min.t -> unit) -> unit
OCaml

Innovation. Community. Security.