diff options
author | portix <portix@gmx.net> | 2011-12-29 23:20:50 +0100 |
---|---|---|
committer | portix <portix@gmx.net> | 2011-12-29 23:20:50 +0100 |
commit | b4fa84e6f6261555dac61cf2e107da8a0ac7373c (patch) | |
tree | 079cbeb8cd7f68255f992a462297117288635e19 /src/config.h | |
parent | 2e2a2e068740afa65f33c8903a28d120880c9911 (diff) | |
download | dwb-b4fa84e6f6261555dac61cf2e107da8a0ac7373c.zip |
New command 'allow_session_cookie_tmp'
--HG--
branch : experimental
Diffstat (limited to 'src/config.h')
-rw-r--r-- | src/config.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h index 751392fa..67361df4 100644 --- a/src/config.h +++ b/src/config.h @@ -20,6 +20,7 @@ static KeyValue KEYS[] = { { "add_view", { "ga", 0, }, }, { "allow_cookie", { "CC", 0, }, }, { "allow_session_cookie", { "CS", 0, }, }, + { "allow_session_cookie_tmp", { "CT", 0, }, }, { "bookmark", { "M", 0, }, }, { "bookmarks", { "gb", 0, }, }, { "bookmarks_nv", { "gB", 0, }, }, @@ -189,6 +190,8 @@ static FunctionMap FMAP [] = { (Func)commands_allow_cookie, "No new domain in current context", POST_SM, { .n = COOKIE_ALLOW_PERSISTENT } }, { { "allow_session_cookie", "Cookie allowed", }, 1, (Func)commands_allow_cookie, "No new domain in current context", POST_SM, { .n = COOKIE_ALLOW_SESSION } }, + { { "allow_session_cookie_tmp", "Cookie allowed", }, 1, + (Func)commands_allow_cookie, "No new domain in current context", ALWAYS_SM, { .n = COOKIE_ALLOW_SESSION_TMP } }, { { "bookmark", "Bookmark current page", }, 1, (Func)commands_bookmark, NO_URL, POST_SM, }, { { "bookmarks", "Bookmarks", }, 0, |