diff options
Diffstat (limited to 'examples/config/uzbl/config')
-rw-r--r-- | examples/config/uzbl/config | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/config/uzbl/config b/examples/config/uzbl/config index 1ca1770..a1fc9c1 100644 --- a/examples/config/uzbl/config +++ b/examples/config/uzbl/config @@ -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 |