Sorry, patches in previous mail were wrong, here are the good ones.

On Wed, Jan 29, 2014 at 2:14 PM, Quentin Rameau <quinq...@gmail.com> wrote:
> Hi, another version of the patches, with a command line option added.
> I'll have a look on monday for implementing a whitelist.
>
> On Sun, Jan 26, 2014 at 6:22 PM, Quentin Rameau <quinq...@gmail.com> wrote:
>> Hi, I changed (and attached here) the patch using gtk object class,
>> hope it is better that way.
>>
>>> One question though, do you think it's possible to configure two states in 
>>> config.h and then apply a key binding to toggle between those two, just 
>>> like the already implemented enableplugins, enablescripts etc.? That way 
>>> one could e.g. allow cookies only for specific websites. Or other 
>>> combinations like globally allow cookies, but no third party, but after 
>>> toggling enable all cookies.
>>
>> I'm not sure how it could be implemented in a good way, toggling
>> between three states would be to much page reload, and toggling
>> between two states would leave one state out.
>> Anyway, I tried the second way and also attached a patch here. Please
>> comment if you have any idea about how to handling this.
>>
>>> I didn't read / look the patch, but it could be interesting to add
>>> a command line option and exceptions / white list.
>>
>> I'll add a command line option (not sure if this is really necessary
>> though) and have a look at how to manage a whitelist.
>>
>> Thanks for your interest !

Attachment: surf-git-cookiepolicy.patch
Description: Binary data


Attachment: surf-git-cookiepolicy-toggle.patch
Description: Binary data

Reply via email to