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