aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorGravatar Barrucadu <mike@barrucadu.co.uk>2009-05-03 23:13:34 +0100
committerGravatar Barrucadu <mike@barrucadu.co.uk>2009-05-03 23:13:34 +0100
commitb6a39ed3eba72d2c3fea3ae9ed28ff7510a05e1f (patch)
treeb2b0f297ccc23cbda395f8edf92e533f97d9cb3b /examples
parentfbf3bbced3165bc67364f20d4ff6c1f994beac3b (diff)
Added hacky variable suppot (currently "%webkit-major%", "%webkit-minor%" and "%webkit-micro%", alas no "%kernver%" or "%commit%" yet) to user agent.
I'm tired and it's late. I've probably done this in a very poor way which would be infinitely better. Now I am going to go and sleep. When I wake up and come on IRC, tell me how bad the code is :P
Diffstat (limited to 'examples')
-rw-r--r--examples/configs/sampleconfig2
-rw-r--r--examples/configs/sampleconfig-dev2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/configs/sampleconfig b/examples/configs/sampleconfig
index e4fd3a6..4fcdead 100644
--- a/examples/configs/sampleconfig
+++ b/examples/configs/sampleconfig
@@ -56,6 +56,6 @@ S = script alert("hi");
proxy_server =
#values 0-3
http_debug = 0
-user-agent = uzbl
+user-agent = uzbl (Webkit %webkit-major%.%webkit-minor%.%webkit-micro%)
max_conns =
max_conns_per_host =
diff --git a/examples/configs/sampleconfig-dev b/examples/configs/sampleconfig-dev
index 7ce220f..9c4664e 100644
--- a/examples/configs/sampleconfig-dev
+++ b/examples/configs/sampleconfig-dev
@@ -57,7 +57,7 @@ S = script alert("hi");
#proxy_server = http://127.0.0.1:8118
#values 0-3
http_debug = 0
-user-agent = uzbl
+user-agent = uzbl (Webkit %webkit-major%.%webkit-minor%.%webkit-micro%)
max_conns =
max_conns_per_host =