How on some exceptions (part2)?

Discussions about the Application Boundaries Enforcer (ABE) module
ns_jadd

How on some exceptions (part2)?

Post by ns_jadd » Tue Feb 04, 2014 12:55 am

Hi,
I need blocking only something from facebook, but this rule doesn't work.

Code: Select all

Site ^https?://www\.facebook\.com/
Accept from ^https?://www\.facebook\.com/(?!(a.php|ai.php|ajax/pagelet/generic.php/WebEgoPane)).*
Deny

How to?
Thanks, David
Mozilla/5.0 (Windows NT 6.0; rv:26.0) Gecko/20100101 Firefox/26.0

User avatar
Thrawn
Senior Member
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: How on some exceptions (part2)?

Post by Thrawn » Tue Feb 04, 2014 1:49 am

  1. I'm not sure whether ABE supports lookahead expressions. Giorgio would know.
  2. I'm not sure what you're trying to do.
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.

True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0

barbaz
Senior Member
Posts: 9343
Joined: Sat Aug 03, 2013 5:45 pm

Re: How on some exceptions (part2)?

Post by barbaz » Tue Feb 04, 2014 2:05 am

Thrawn wrote:
  1. I'm not sure whether ABE supports lookahead expressions.

@Thrawn, AddressMatcher converts all valid (non-IP-subnet) syntaxes into regexp using "new RegExp(string);", so whatever regexp syntax is supported by the browser is therefore also supported by ABE.
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:26.0) Gecko/20100101 Firefox/26.0 SeaMonkey/2.23

Post Reply