Post Reply 
Block coub videos
Dec. 31, 2015, 11:15 AM (This post was last modified: Dec. 31, 2015 12:05 PM by Faxopita.)
Post: #4
RE: Block coub videos
(Dec. 30, 2015 09:10 PM)adriankoooo Wrote:  user.filter:
Code:
FILTER: removebanner
s/<div [^<>]*class="banner"[^<>]*>/<div class="banner" style="display:none;">/gi

Instead, use this:
Code:
FILTER: removebanner
s/<div [^<>]*class="banner"[^<>]*>/<div id="crap" style="display:none;"/g

It works and it's more funny.


(Dec. 30, 2015 09:10 PM)adriankoooo Wrote:  Why I get "The proxy server is refusing connections"?

https://www.dropbox.com/s/le05ebm52bdm5y...8.png?dl=0

Did you set Privoxy to Advanced filtering mode? Look at here to see the different levels of aggressiveness.
If so, you must add something like this in your user.action file:
Code:
{ +limit-connect{80,443} } # Ports 80 and 443 are OK.
                           # Needed under "advanced" mode.
   /

For example, in my case, I have granted access to the following ports:
Code:
{ +limit-connect{80,443} }
   /

{ +limit-connect{80,350,443,5000,5020} }
   .raynersw.com

{ +limit-connect{443, 9091} }
   .jit.si

If you use the most aggressive settings, you must explicitly let Privoxy know not to crunch incoming/outgoing cookies as well—if issues when visiting a particular website.


(Dec. 30, 2015 09:10 PM)adriankoooo Wrote:  
Code:
{ +deanimate-gifs{first} }
/

But it does not work for coub.

Unfortunately, I don't have a quick fix for this. I thought that resorting to Privoxy's ability to manage external filters would help using ImageMagick's convert program… I know that sounds funny!

You could equally study the deanimate-gifs filter and modify it so it applies to Coub loops as well.

Finally, you can always turn to JavasScript. See thread here.
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
Block coub videos - adriankoooo - Dec. 30, 2015, 01:06 AM
RE: Block coub videos - Faxopita - Dec. 30, 2015, 05:48 PM
RE: Block coub videos - adriankoooo - Dec. 30, 2015, 09:10 PM
RE: Block coub videos - Faxopita - Dec. 31, 2015 11:15 AM

Forum Jump: