How on some exceptions (part2)?

Discussions about the Application Boundaries Enforcer (ABE) module
ns_jadd

How on some exceptions (part2)?

Post by ns_jadd »

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
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: How on some exceptions (part2)?

Post by Thrawn »

  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: 10847
Joined: Sat Aug 03, 2013 5:45 pm

Re: How on some exceptions (part2)?

Post by barbaz »

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