diff options
author | Devin J. Pohly <djpohly@gmail.com> | 2011-10-27 12:06:16 -0400 |
---|---|---|
committer | Devin J. Pohly <djpohly@gmail.com> | 2011-10-27 13:24:45 -0400 |
commit | 38fd1f02bbdc5edda7daf8210a0d2b241bc9b412 (patch) | |
tree | e3c39acd94349ac78d982d7fc290a48ddde7435c /src/uzbl-core.h | |
parent | 4e9672c31ee7790cb4a0453b7d45d3e89613c035 (diff) |
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.
Diffstat (limited to 'src/uzbl-core.h')
-rw-r--r-- | src/uzbl-core.h | 1 |
1 files changed, 1 insertions, 0 deletions
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; |