diff options
author | Mason Larobina <mason.larobina@gmail.com> | 2009-10-25 02:50:13 +0800 |
---|---|---|
committer | Mason Larobina <mason.larobina@gmail.com> | 2009-10-25 02:50:13 +0800 |
commit | c6cd548bd063f71e2eb7bcf044cd1b6c85e676b4 (patch) | |
tree | 021aadd40d96f9ec32b2315fcf24c0984ff53ad3 /examples | |
parent | 828dcf0378e461c746f6f95d33256a47a963fb64 (diff) | |
parent | 3898202c2f062a5f76a44bfff47f0216254f9fc7 (diff) |
Merge branch 'experimental' of git://github.com/Dieterbe/uzbl into experimental
Diffstat (limited to 'examples')
-rw-r--r-- | examples/config/uzbl/config | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/examples/config/uzbl/config b/examples/config/uzbl/config index 01ea3ef..7d05e9e 100644 --- a/examples/config/uzbl/config +++ b/examples/config/uzbl/config @@ -32,7 +32,7 @@ set scheme_handler = spawn @scripts_dir/scheme.py #set new_window = sh 'echo uri "$8" > $4' # open in same window set new_window = sh 'uzbl-browser -u $8' # equivalent to the default behaviour -# Load start handler +# Load start handlers @on_event LOAD_START @set_status <span foreground="khaki">wait</span> # Load commit handler @@ -42,9 +42,8 @@ set new_window = sh 'uzbl-browser -u $8' # equivalent to the default beh @on_event LOAD_FINISH @set_status <span foreground="gold">done</span> @on_event LOAD_FINISH spawn @scripts_dir/history.sh -# Generate a FORM_ACTIVE event if a text element on the loaded site -# has initial focus unfortunatelly this only works for text elements, -# yet due to webkit limitations +# Generate a FORM_ACTIVE event if an editable +# element on the loaded site has initial focus @on_event LOAD_FINISH js if(document.activeElement.type == 'text') {Uzbl.run("event FORM_ACTIVE");} # Switch to insert mode if a (editable) html form is clicked |