From 780cca964ca0cf622746ad6e8cae8beb8047d1df Mon Sep 17 00:00:00 2001 From: Christoph Lohmann <20h@r-36.net> Date: Thu, 30 Jan 2014 20:36:06 +0100 Subject: Add a way to define the cookie policy. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This adds the -a flag to define a string of the toggle string for the cookie policy modes. There is now a new »cookiepolicies« string in config.h and the Mod+Shift+a now can toggle the policy but will not cause a reload, because this would only add a burden when toggling through accept and not accept. Thanks Quentin Rameau for the suggestions! --- surf.1 | 31 ++++++++++++++++++++++++------- 1 file changed, 24 insertions(+), 7 deletions(-) (limited to 'surf.1') diff --git a/surf.1 b/surf.1 index 325e817..5b194ec 100644 --- a/surf.1 +++ b/surf.1 @@ -4,6 +4,7 @@ surf \- simple webkit-based browser .SH SYNOPSIS .B surf .RB [-bBfFgGiIkKnNpPsSvx] +.RB [-a\ cookiepolicies] .RB [-c\ cookiefile] .RB [-e\ xid] .RB [-r\ scriptfile] @@ -18,6 +19,16 @@ which makes it possible to embed it in another application. Furthermore, one can point surf to another URI by setting its XProperties. .SH OPTIONS .TP +.B \-a cookiepolicies +Define the order of +.I cookie policies. +The default is "Aa@" but could be +redefined in the +.I config.h, +with "A" meaning to +accept all cookies, "a" to deny all cookies and "@", which tells surf to +accept all third party cookies. +.TP .B \-b Disable Scrollbars .TP @@ -158,7 +169,7 @@ Calls Printpage Dialog. Reloads the website. .TP .B Ctrl\-Shift\-r -Reloads the website without using cache. +Reloads the website without using the cache. .TP .B Ctrl\-y Copies current URI to primary selection. @@ -166,28 +177,34 @@ Copies current URI to primary selection. .B Ctrl\-o Show the sourcecode of the current page. .TP +.B Ctrl\-Shift\-a +Toggle through the the +.I cookie policies. +This will not reload the page. +.TP .B Ctrl\-Shift\-b -Toggle scrollbars +Toggle scrollbars. This will reload the page. .TP .B Ctrl\-Shift\-c -Toggle caret browsing. +Toggle caret browsing. This will reload the page. .TP .B Ctrl\-Shift\-i -Toggle auto-loading of images. +Toggle auto-loading of images. This will reload the page. .TP .B Ctrl\-Shift\-m Toggle if the .I stylefile -file should be loaded. +file should be loaded. This will reload the page. .TP .B Ctrl\-Shift\-o Open the Web Inspector (Developer Tools) window for the current page. .TP .B Ctrl\-Shift\-s -Toggle script execution. +Toggle script execution. This will reload the page. .TP .B Ctrl\-Shift\-v -Toggle the enabling of plugins on that surf instance. +Toggle the enabling of plugins on that surf instance. This will reload the +page. .TP .B F11 Toggle fullscreen mode. -- cgit v1.2.3