From 7e2441e2480ed5ae80ae19489d030a17f5aab6b8 Mon Sep 17 00:00:00 2001 From: Paweł Zuzelski Date: Mon, 21 Jun 2010 18:48:04 +0200 Subject: example SSL error handler --- examples/config/config | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/config/config b/examples/config/config index fe1e236..80aae3d 100644 --- a/examples/config/config +++ b/examples/config/config @@ -151,6 +151,8 @@ set useragent = Uzbl (Webkit @{WEBKIT_MAJOR}.@{WEBKIT_MINOR}) (@(+uname # set ssl_verify = 1 # Command to toggle ssl_verify value: @cbind !ssl = sh 'echo "set ssl_verify=$((!\@ssl_verify))" > "$4"; echo "set uri = \\\\\\\@uri" > "$4"' +# Example SSL error handler: +@on_event LOAD_ERROR js var patt=new RegExp(':The SSL certificate is not trusted.'); if (patt.test('%1')) {alert ('%1');} # === Key binding configuration ============================================== # --- Internal modmapping and ignoring --------------------------------------- -- cgit v1.2.3