Skip to content
This repository has been archived by the owner on Nov 15, 2017. It is now read-only.

"Your allow rules" don't work #373

Closed
mikhaelkh opened this issue Jul 14, 2014 · 8 comments
Closed

"Your allow rules" don't work #373

mikhaelkh opened this issue Jul 14, 2014 · 8 comments

Comments

@mikhaelkh
Copy link
Contributor

"Your allow rules" aren't in "Lists of blocked hosts" and don't work. It also shows "0 used out of 0" while I added an ABP-compatible block rule and it seemed to work. What are the nuances of ABP filters support? Like ABP use "!" to comment a line instead of "#", does this mean I can use both? If a request fits allow rule(s) and block rule(s), which will take effect?

@gorhill
Copy link
Owner

gorhill commented Jul 14, 2014

don't work

I need to know what doesn't work. What rule did you enter in there?

The "n out of N" is for matrix-based rules.

To comment out, you can use ! or #, so long as # cannot be confused with an ABP filter, i.e. any sequence of less than two (##) or greater than three (###) should be interpreted as a comment.

Two kinds of rules can be specified: matrix- or ABP-related rules.

  • When both an allow and block matrix-related rule exists, the allow rule wins.
  • When both an allow and block ABP-related rule exists, the allow rule wins.
  • When a matrix-related allow rule and an ABP-related block rule exists, the block rule wins.
  • When a matrix-related block rule and an ABP-related allow rule exists, the block rule wins.

@mikhaelkh
Copy link
Contributor Author

http://www.kinopoisk.ru/film/760326/video/100414/
@@|http://yandex.st/swf/kinoplayer/
Matrix allows the request, ABP "info" filter blocks it:
script <a> http://yandex.st/swf/kinoplayer/13_101/info?nc=...
When custom filter in "my allow rules", the video is not playing, when in "my block rules", it is playing.

@mikhaelkh
Copy link
Contributor Author

"Your block rules: n used out of N" is for matrix-based rules. You mean for plain hostnames? And why "Your allow rules" aren't in "Lists of blocked hosts"?

@gorhill
Copy link
Owner

gorhill commented Jul 14, 2014

@@|http://yandex.st/swf/kinoplayer/

I cannot get what you get. I whitelisted the whole matrix, and nowhere do I see a request which matches yandex.st/swf/kinoplayer.

@mikhaelkh
Copy link
Contributor Author

Enable Ru AdList subscription.

@mikhaelkh
Copy link
Contributor Author

A rule can be a plain hostname, or an Adblock Plus-compatible filter

@gorhill, plain hostname can also be treated as an adblock filter, for example ABP rule baddomain.com also blocks http://gooddomain.com/analyze?http://baddomain.com

@gorhill
Copy link
Owner

gorhill commented Jul 15, 2014

Use a wildcard to force the hostname to be seen as an ABP filter:

*baddomain.com

@mikhaelkh
Copy link
Contributor Author

mikhaelkh commented Apr 4, 2015

OK

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants