Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Facebook Ads

    Scheduled Pinned Locked Moved pfSense Packages
    2 Posts 1 Posters 2.9k Views
    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

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
        Privacy Policy · Cookie Policy