Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    HTTP::Proxy::BodyFilter::Adnix 0.01

    Download button

    No screenshots available
    Downloads: 192  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Cosimo Streppone | More programs
    Perl Artistic License / FREE
    March 12th, 2011, 21:03 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    HTTP::Proxy::BodyFilter::Adnix description

    Automatically block advertising images with custom regexes

    HTTP::Proxy::BodyFilter::Adnix is a filter module is based on HTTP::Proxy::BodyFilter class that is part of HTTP::Proxy distribution.

    This filter tries to detect advertising images into your HTTP requests, and it replaces them with an image of your choice. Detection is done through a set of regular expression you can customize.

    If you're wondering where the name Adnix comes from, you should really read the wonderful book Contact by Carl Sagan.

    For more detailed information on HTTP::Proxy::BodyFilter, see its documentation on CPAN.

    SYNOPSIS

     use HTTP::Proxy::BodyFilter::Adnix

     # Use default blacklist rules and default placeholder image
     $proxy->push_filter(
     mime => 'image/*',
     response => HTTP::Proxy::BodyFilter::Adnix->new();
     );

     # OR ...

     # You must supply your custom rules for filtering
     my $filter = HTTP::Proxy::BodyFilter::Adnix->new(
     deny => [ 'spammingserver.com', 'WeSpamYou.org', ... ],
     image => 'http://www.mydomain.com/mylogo.png'
     );
     $proxy->push_filter(
     mime => 'image/*',
     response => $filter
     );



    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    block ads | Perl module | HTTP::Proxy | filter | ads

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM