Page 1 of 1

How on some exceptions (part2)?

Posted: Tue Feb 04, 2014 12:55 am
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

Re: How on some exceptions (part2)?

Posted: Tue Feb 04, 2014 1:49 am
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.

Re: How on some exceptions (part2)?

Posted: Tue Feb 04, 2014 2:05 am
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.