From 38fd1f02bbdc5edda7daf8210a0d2b241bc9b412 Mon Sep 17 00:00:00 2001 From: "Devin J. Pohly" Date: Thu, 27 Oct 2011 12:06:16 -0400 Subject: add request_handler hook This creates a handler `request_handler' in the same vein as scheme_handler, download_handler, etc., which is called whenever the page requests a URI. (Possible applications include Adblock and SSL enforcement.) The handler should get the URI from $1 and print the URI of the resource that should be loaded instead, or print nothing to allow the request unmodified. --- src/uzbl-core.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/uzbl-core.h') diff --git a/src/uzbl-core.h b/src/uzbl-core.h index 35533f7..aa88feb 100644 --- a/src/uzbl-core.h +++ b/src/uzbl-core.h @@ -150,6 +150,7 @@ typedef struct { /* Handlers */ gchar* authentication_handler; gchar* scheme_handler; + gchar* request_handler; gchar* download_handler; gboolean forward_keys; -- cgit v1.2.3