Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Facebook Ads

    pfSense Packages
    1
    2
    2357
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jwar last edited by

      I searched but couldn't find an answer.  Are there any blocking lists or packages that block Facebook Ads?  The Adblock extension in any browser can do this.  But no list for pfBlocker or squidGuard blocks them.  I have even tried the lists that Adblock comes with (e.g. easylist, fanboy).

      1 Reply Last reply Reply Quote 0
      • J
        jwar last edited by

        I'm still working on figuring this out.  It seems like squidGuard won't block frames properly.  Adblock seems to remove frames and shift the content whereas squidGuard creates the frame but makes it blank.

        I'm loading easylist in to squidGuard using the following method:
        http://forum.pfsense.org/index.php?topic=19756.0

        Can someone tell me if the following Facebook entries in the expressions file are correct?

        –---------------------
        ||facebook.com/whitepages/wpminiprofile.php?partner_id=
        facebook.com###fbPhotoSnowliftAdsSide
        facebook.com###home_sponsor_nile
        facebook.com##.ego_spo
        facebook.com##.fbEmu
        facebook.com##.fbEmuBlock
        facebook.com##.fbEmuEgo
        facebook.com##.fbEmuEgoUnit
        facebook.com##.fbEmuLink
        facebook.com##.fbPhotoAdsCol
        facebook.com##.fbPhotoSnowboxAds
        facebook.com##.fbTimelineSideAds
        facebook.com##a[ajaxify^="/ajax/emu/end.php?"]
        facebook.com##a[href^="/ajax/emu/end.php?"]
        –---------------------

        I'm wondering if the conversion filter (regex.sed) is working properly ("cat easylist.txt | sed -f regex.sed > expressions").    My regex.sed file is as follows:


        /@@./d;
        /^!.
        /d;
        /^[.]$/d;
        s#http://##g;
        s,[.?=&/|],\&,g;
        s#
        #.#g;
        s,$.
        $,,g;
        –---------------------

        1 Reply Last reply Reply Quote 0
        • First post
          Last post