Re: [dev] [surf] Disable javascript

2012-11-16 Thread Edgaras
On Fri, Nov 16, 2012 at 10:13:56AM +0100, Christoph Lohmann wrote: > Who will send the patch to replace Webkit with something sane? > > Sincerely, > Christoph Lohmann Well there is no sane thing for web, and I think trying to make one would drive the creator insane. I think the closest thing to s

Re: [dev] [surf] Disable javascript

2012-11-16 Thread Christoph Lohmann
Greetings. On Fri, 16 Nov 2012 10:13:56 +0100 sta...@cs.tu-berlin.de wrote: > * Nick [2012-11-15 15:47]: > > Insert mode? Since when did surf become modal? Why is this needed > > (except for people who like to pretend they're using vim)? > > I agree, insert mode is quite special and maybe is wor

Re: [dev] [surf] Disable javascript

2012-11-15 Thread stanio
* Nick [2012-11-15 15:47]: > Insert mode? Since when did surf become modal? Why is this needed > (except for people who like to pretend they're using vim)? I agree, insert mode is quite special and maybe is worth having it as a patch rather than in mainline surf. It makes character handling less

Re: [dev] [surf] Disable javascript

2012-11-15 Thread Nick
On Thu, Nov 15, 2012 at 03:29:45PM +0100, Christoph Lohmann wrote: > Thanks for the patches. Toggle, insert and the status area patch are now > in surf tip. And they are documented in the manpage too. Insert mode? Since when did surf become modal? Why is this needed (except for people who like to

Re: [dev] [surf] Disable javascript

2012-11-15 Thread Christoph Lohmann
Greetings. On Thu, 15 Nov 2012 15:29:45 +0100 sta...@cs.tu-berlin.de wrote: > * sta...@cs.tu-berlin.de [2012-11-15 14:34]: > > * s...@alternametz.org [2012-11-15 12:56]: > > > As a side note, I wonder how difficult would it be to create > > > a generic toggle function for surf which could be calle

Re: [dev] [surf] Disable javascript

2012-11-15 Thread Thuban
No problem. The method is based on a piece of code found on uzbl wiki. Just paste this in ~/.surf/script.js (see attachement). The first part of the code is just simple rules towhitelist some domains. (see examples) Have a nice day everyone! Le 10:38:28 le 15 nov. 2012 , Nick a écrit : > Quo

Re: [dev] [surf] Disable javascript

2012-11-15 Thread stanio
* sta...@cs.tu-berlin.de [2012-11-15 14:34]: > * s...@alternametz.org [2012-11-15 12:56]: > > As a side note, I wonder how difficult would it be to create > > a generic toggle function for surf which could be called with > > look for 20120602113939.GA26438 in your mailbox or > http://permalink.gm

Re: [dev] [surf] Disable javascript

2012-11-15 Thread stanio
* s...@alternametz.org [2012-11-15 12:56]: > As a side note, I wonder how difficult would it be to create > a generic toggle function for surf which could be called with > any WebKitWebSettings boolean parameter in config.h such as > "auto-load-images", "enable-scripts" and so on ... look for 201

Re: [dev] [surf] Disable javascript

2012-11-15 Thread Christoph Lohmann
Greetings. On Thu, 15 Nov 2012 14:11:09 +0100 Raphael Proust wrote: > On Thu, Nov 15, 2012 at 9:40 AM, Julian Dammann > wrote: > >> I read them, but I suppose I don't remember them... > > > > No. > > Not to sound too rude, but this is not the problem here... > > The problem is surf has no GUI

Re: [dev] [surf] Disable javascript

2012-11-15 Thread skls
Nick wrote: > (...) I'd like to be able to disable javascript > on a per site basis, but have never got around to doing that. > (...) Hello, Sorry, not related to the per site basis : The handiest way to deal with javascript on surf at the moment is IMO the toggle patch you put on the wiki,

Re: [dev] [surf] Disable javascript

2012-11-15 Thread Julian Dammann
On 2012/11/15 - 09:49:04 +, Raphael Proust wrote: > On Thu, Nov 15, 2012 at 9:40 AM, Julian Dammann > wrote: > >> I read them, but I suppose I don't remember them... > > > > No. > > Not to sound too rude, but this is not the problem here... > > The problem is surf has no GUI with drop-down m

Re: [dev] [surf] Disable javascript

2012-11-15 Thread Julian Dammann
> Well, you don't know what I did, so don't judge too fast. I'm stating facts, take away any judgement you feel entitled to. Fact is: your question was trivial; the answer to your question *was* one "man surf" or web search away. > I did read the manual, a long time ago, bit I did. And I'm sure

Re: [dev] [surf] Disable javascript

2012-11-15 Thread Nick
Quoth Thuban: > I alsa used for a while a kind of "noscript" in .surf/script.js. Care to share the details? I'd like to be able to disable javascript on a per site basis, but have never got around to doing that. Adding proper support in surf rather than just script.js would probably be better,

Re: [dev] [surf] Disable javascript

2012-11-15 Thread Thuban
Well, you don't know what I did, so don't judge too fast. I alsa used for a while a kind of "noscript" in .surf/script.js. I did read the manual, a long time ago, bit I did. And I'm sure such mistakes can happen to anyone. Le 10:40:08 le 15 nov. 2012 , Julian Dammann a écrit : > > I read them, bu

Re: [dev] [surf] Disable javascript

2012-11-15 Thread 7heo
On 11/15/2012 10:40 AM, Julian Dammann wrote: I read them, but I suppose I don't remember them... No. Not to sound too rude, but this is not the problem here... Welcome to "How to answer almost all your questions about any software without wasting other people's time": 1. Is there a manual?

Re: [dev] [surf] Disable javascript

2012-11-15 Thread Raphael Proust
On Thu, Nov 15, 2012 at 9:40 AM, Julian Dammann wrote: >> I read them, but I suppose I don't remember them... > > No. > Not to sound too rude, but this is not the problem here... The problem is surf has no GUI with drop-down menus and stuff… If it had, then everyone would refer to http://xkcd.com

Re: [dev] [surf] Disable javascript

2012-11-15 Thread Julian Dammann
> I read them, but I suppose I don't remember them... No. Not to sound too rude, but this is not the problem here... Welcome to "How to answer almost all your questions about any software without wasting other people's time": 1. Is there a manual? If no goto 2 else 1a 1a. Have you read it? If

Re: [dev] [surf] Disable javascript

2012-11-14 Thread Thuban
I read them, but I suppose I don't remember them... Le 20:59:12 le 14 nov. 2012 , Christoph Lohmann a écrit : > Greetings. > > On Wed, 14 Nov 2012 20:59:12 +0100 Thuban wrote: > > How could I have missed this? > > Because you never read manpages. > > > Sincerely, > > Christoph Lohmann > >

Re: [dev] [surf] Disable javascript

2012-11-14 Thread Christoph Lohmann
Greetings. On Wed, 14 Nov 2012 20:59:12 +0100 Thuban wrote: > How could I have missed this? Because you never read manpages. Sincerely, Christoph Lohmann

Re: [dev] [surf] Disable javascript

2012-11-14 Thread Thuban
How could I have missed this? Thank you Le 09:56:34 le 12 nov. 2012 , Nick a écrit : > > Do you have any method to disable completely javascript in surf (I mean > > always, not by a per-site rule)? > > surf -s > -- ,--. Xavier Cartron , /( : /` ) M2 MEFPC

Re: [dev] [surf] Disable javascript

2012-11-12 Thread Nick
> Do you have any method to disable completely javascript in surf (I mean > always, not by a per-site rule)? surf -s

[dev] [surf] Disable javascript

2012-11-12 Thread Thuban
Hello, Do you have any method to disable completely javascript in surf (I mean always, not by a per-site rule)? Thanks -- ,--. Xavier Cartron , /( : /` ) M2 MEFPCo **}=\\,\(,, | `-' Debian user<0--(___(_\