Re: [dev] [surf] Disable javascript

From: Thuban <thuban_AT_singularity.fr>
Date: Thu, 15 Nov 2012 15:18:06 +0100

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 :
> 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, but I'd be interested to hear what you hacked together.
>

-- 
 ,--.   Xavier Cartron                           ,   /(
: /` )  M2 MEFPC                        o     **}=\\,\(,,  
| `-'   Debian user                    <0--        (___(_\\
 \_     jabber : thuban_AT_jabber.fr      / >        ,)   ,/ ``==>

Received on Thu Nov 15 2012 - 15:18:06 CET

This archive was generated by hypermail 2.3.0 : Thu Nov 15 2012 - 15:24:07 CET