aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/config
diff options
context:
space:
mode:
Diffstat (limited to 'examples/config')
-rw-r--r--examples/config/config4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/config/config b/examples/config/config
index d5555e0..ab690e0 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