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 : thu...@jabber.fr      / >        ,)   ,/ ``==>

Attachment: noscript.js
Description: application/javascript

Reply via email to