Share this page

# Example: web_add_auto_filter

The following example uses web_add_auto_filter to exclude URLs with a path prefix of /Images/Upload. The call applies to all subsequent action functions.

    web_add_auto_filter("Action=Exclude", "PathPrefix=/Images/Upload", LAST );

    web_url("www.knanas.com",
        "URL=http://www.knanas.com/", "Resource=0",
        "RecContentType=text/html", "Referer=", "Snapshot=t1.inf",
        "Mode=HTML",
        EXTRARES,
        "Url=/images/netaction_icon.gif",
        ENDITEM,
        "Url=http://frontpage.knanas.com/Images/Upload/Commerce323.jpg",
        ENDITEM,
        // Will be excluded as it matches the path prefix criteria
        "Url=http://frontpage.knanas.com/Images/Upload/Commerce134.gif",
        ENDITEM,
        // Will be excluded as it matches the path prefix criteria
        "Url=http://frontpage.knanas.com/Images/Upload/120_eminem-t55.jpg",
        ENDITEM,
        // Will be excluded as it matches the path prefix criteria
        "Url=http://frontpage.knanas.com/Images/Upload/153_gavre_sigar.jpg",
        ENDITEM,
        LAST );

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: