summaryrefslogtreecommitdiff
path: root/src/commands.c
diff options
context:
space:
mode:
authorportix <portix@gmx.net>2012-01-28 12:44:22 +0100
committerportix <portix@gmx.net>2012-01-28 12:44:22 +0100
commita2dba87622542f424a5615feb58d73895728371c (patch)
tree419d950d9b06f4fb073d49e00c19dfc0aa028f86 /src/commands.c
parent30b561907793fea06492723673fb97a51ac27aa0 (diff)
downloaddwb-a2dba87622542f424a5615feb58d73895728371c.zip
Adding DWB_REFERER to userscript environment
--HG-- branch : background
Diffstat (limited to 'src/commands.c')
-rw-r--r--src/commands.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/commands.c b/src/commands.c
index d0073820..8326be36 100644
--- a/src/commands.c
+++ b/src/commands.c
@@ -80,6 +80,7 @@ commands_get_webview_with_nummod() {
/* commands_add_view(KeyMap *, Arg *) {{{*/
DwbStatus
commands_add_view(KeyMap *km, Arg *arg) {
+ soup_get_header(dwb.state.fview, "Referer");
view_add(arg->p, false);
return STATUS_OK;
}/*}}}*/