-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
css file could use new line for site specific rules #11
Comments
I’m not tracking this issue. Would you please provide more details and explain them to me? |
Lets say rules set has following rules
Currently all element hiding rules are placed in one line, separated by commas and ending with
EDIT: According to the guys from filter list when moving rule to new line it is also important to leave out |
After removing all generic hide elements and changing source not too inlcude 4000 elements, but only 1 per line it become easy to workaround this particular issue with help of sed. CSS after being prepared by adblock2privoxy had
Now with use of sed
it lookes like it should which is:
This is far from pernament fix as the file should get generated like this in the first place, but it gets the job done :) |
The |
There filters using advanced hiding rules which are site specific. See example 1 or 2. I am no HTML expert, but my gut feeling says in such cases one probably would benefit more if converter sends such records having rules located in parenthesis into the separate line instead of placing it in default which only has
{display:none!important;visibility:hidden!important}
The text was updated successfully, but these errors were encountered: