diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/config/config | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/config/config b/examples/config/config index bc07b0c..1ec462d 100644 --- a/examples/config/config +++ b/examples/config/config @@ -69,6 +69,10 @@ set download_handler = sync_spawn @scripts_dir/download.sh # Load commit handlers @on_event LOAD_COMMIT @set_status <span foreground="green">recv</span> + # add some javascript to the page for other 'js' and 'script' commands to access later. +@on_event LOAD_COMMIT js uzbl = {}; +@on_event LOAD_COMMIT script @scripts_dir/formfiller.js + # Userscripts/per-site-settings. See the script and the example configuration for details #@on_event LOAD_COMMIT spawn @scripts_dir/per-site-settings.py @data_home/uzbl/per-site-settings |