• [^] # alternative à privoxy

    Posté par (site web personnel) . En réponse à la dépêche "Linux" cible de pub pour Microsoft. Évalué à 1.

    Pour ceux qui veulent plus leger que d'installer un proxy je conseilles de jetter un oeil sur :
    http://www.schooner.com/~loverso/no-ads/(...)

    Perso je m'en suis fait une version lite :

    var blackhole = "PROXY 0.0.0.0:80";
    var normal = "DIRECT";
    function FindProxyForURL(url, host){
    url = url.toLowerCase();
    host = host.toLowerCase();
    if (0
    || shExpMatch(url,"*/ad/*")
    || shExpMatch(url,"*/ads/*")
    || shExpMatch(url,"*/adimages/*")
    || shExpMatch(url,"*/adserver/*")
    || shExpMatch(url,"*/banner/*")
    || shExpMatch(url,"*/banners/*")
    || shExpMatch(url,"*/bannieres/*")
    || shExpMatch(url,"*/popup/*")
    || shExpMatch(url,"*/popups/*")
    || shExpMatch(url,"*/popunder/*")
    || shExpMatch(url,"*/popunders/*")
    || shExpMatch(url,"*/phpadsnew/*")
    ) {
    return blackhole;
    } else {
    return normal;
    }
    }

    et en complément j'utilise ponctuellement "block image from this server" de Mozilla... et ça me suffit emplement !