Re: [dev] [surf] More convenience

2012-11-20 Thread Christoph Lohmann
Greetings. On Tue, 20 Nov 2012 11:54:01 +0100 Hiltjo Posthuma wrote: > On Fri, Nov 16, 2012 at 6:50 PM, Christoph Lohmann <2...@r-36.net> wrote: > > > > Anyone has done the wget/curl scripts together to handle referer, cook‐ > > ies and whatever else is needed to fool websites, so it could be u

Re: [dev] [surf] More convenience

2012-11-16 Thread Hiltjo Posthuma
On Fri, Nov 16, 2012 at 6:50 PM, Christoph Lohmann <2...@r-36.net> wrote: > > Anyone has done the wget/curl scripts together to handle referer, cook‐ > ies and whatever else is needed to fool websites, so it could be used in > surf? > > Such a script would be useful for other not‐surf‐related down

Re: [dev] [surf] More convenience

2012-11-16 Thread hiro
it should be enough to always send the site's base url as referrer.

Re: [dev] [surf] More convenience

2012-11-16 Thread Christoph Lohmann
Greetings. On Fri, 16 Nov 2012 18:50:02 +0100 Hiltjo Posthuma wrote: > On Fri, Nov 16, 2012 at 5:41 PM, Nick wrote: > > On Fri, Nov 16, 2012 at 05:22:01PM +0100, Hiltjo Posthuma wrote: > > > >> For privacy reasons it's probably best to only pass the referrer > >> if the target download uri is f

Re: [dev] [surf] More convenience

2012-11-16 Thread Hiltjo Posthuma
On Fri, Nov 16, 2012 at 5:41 PM, Nick wrote: > On Fri, Nov 16, 2012 at 05:22:01PM +0100, Hiltjo Posthuma wrote: > >> For privacy reasons it's probably best to only pass the referrer >> if the target download uri is from the same site. > > Not sure about this. We happily pass the referrer around ev

Re: [dev] [surf] More convenience

2012-11-16 Thread Nick
On Fri, Nov 16, 2012 at 05:22:01PM +0100, Hiltjo Posthuma wrote: > Some sites check the HTTP referrer Ah, good point, I'd forgotten about that. Such sites seem to be reasonably rare, but worth supporting. > For privacy reasons it's probably best to only pass the referrer > if the target download

Re: [dev] [surf] More convenience

2012-11-16 Thread Hiltjo Posthuma
On Fri, Nov 16, 2012 at 4:43 PM, Nick wrote: > On Fri, Nov 16, 2012 at 04:29:25PM +0100, Christoph Lohmann wrote: >> On my TODO list for surf is to get the downloading right > > What are your plans for this? There's a patch on the wiki using > webkit's built-in download support, but it was decided

Re: [dev] [surf] More convenience

2012-11-16 Thread Nick
On Fri, Nov 16, 2012 at 04:29:25PM +0100, Christoph Lohmann wrote: > On my TODO list for surf is to get the downloading right What are your plans for this? There's a patch on the wiki using webkit's built-in download support, but it was decided that wget actually tended to work fine. Are there any

[dev] [surf] More convenience

2012-11-16 Thread Christoph Lohmann
Greetings comrades, surf now has a nice surf‐open.sh script in its tip, which will add some more convenience for daily usage of surf as a replacement for other browsers. With the toggle patches to disable scripting and other re‐ source‐hungry crap noone really needs but marketing peop