Post Reply 
CSS filtering - some browsers ignore it
May. 30, 2018, 06:25 PM
Post: #1
CSS filtering - some browsers ignore it
I am using adblocl2privoxy to generate filtering lists, but unable to pinpoint exactly why this happens, but for some hosts on the network with certain browsers it works just right while for others they just do not connect to webserver to get CSS file for element hiding. Could it be related to this? "most browsers will not accept unencrypted redirects as response for https:// requests anyway:"

I tried to change local website to HTTPS but it made no difference for hosts which so far did not connect for CSS and broke it for those that did...

As for browsers Chrome and IE seem to use it now and then, while Firefox even with no addons ignores it completely

Any ideas are welcomed.

Code generated by adblock2privoxy which should make css filtering work for all
Code:
#AbBlock system filters -- don't edit --
SERVER-HEADER-TAGGER: ab2p-block-s
s@.*@ab2p-block-s@Ti
CLIENT-HEADER-TAGGER: ab2b-unblock-u
s@user-agent.*@ab2p-unblock-u@Ti
SERVER-HEADER-TAGGER: ab2p-unblock-d
s@date.*@ab2p-unblock-d@Ti
SERVER-HEADER-TAGGER: ab2p-unblock-s
s@server.*@ab2p-unblock-s@Ti
SERVER-HEADER-TAGGER: ab2p-handle-as-image-s
s@^content-type(?=:[\s\w]*image\/):.*@ab2p-handle-as-image@Ti
CLIENT-HEADER-TAGGER: ab2p-handle-as-image-c
s@^accept(?=:[\s\w]*image\/):.*@ab2p-handle-as-image@Ti
SERVER-HEADER-FILTER: ab2p-xframe-filter
s@.*\sHTTP\/1.*@$&\r\nX-Frame-Options: DENY@i
CLIENT-HEADER-TAGGER: ab2p-elemhide-check-debug
s@^cookie:.*ab2p-elemhide-filter-debug=true(?:;|$).*@ab2p-elemhide-filter-debug@Ti
FILTER: ab2p-elemhide-filter
s@[^'"\s]\s*<head[^>]*>(?=\s*[^'"\s])@$&<link rel="stylesheet" type="text/css" href="http://192.168.101.101:8445/ab2p.common.css"></link>
<link rel="stylesheet" type="text/css" href="http://192.168.101.101:8445/$host/ab2p.css"></link>@iUD
FILTER: ab2p-elemhide-filter-debug
s@[^'"\s]\s*<head[^>]*>(?=\s*[^'"\s])@$&<link rel="stylesheet" type="text/css" href="http://192.168.101.101:8445/debug/ab2p.common.css"></link>
<link rel="stylesheet" type="text/css" href="http://192.168.101.101:8445/$host.debug/ab2p.css"></link>@iUD
FILTER: ab2p-popup-filter
s@[^'"\s]\s*<head[^>]*>(?=\s*[^'"\s])@$&<script type="text/javascript">parent==window&&opener&&close()</script>@iUD
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
CSS filtering - some browsers ignore it - ryszardzonk - May. 30, 2018 06:25 PM

Forum Jump: