[prev in list] [next in list] [prev in thread] [next in thread] 

List:       privoxy-users
Subject:    [privoxy-users] Filtering issue with Dom Source but not in view source
From:       Redback <barnstorming92 () gmail ! com>
Date:       2013-02-24 6:58:32
Message-ID: 5129BA18.5010100 () gmail ! com
[Download RAW message or body]

Hello all

I'm trying too create a removal filter for a twitter request from 
website's but it seem too be missed, or the filter is wrong.

here is the filter:
s@<script [^>]*(?: \
   \ssrc=["']?//platform.twitter.com/widgets.js[^>]*["']? | \
   \ssrc=["']?http://platform.twitter.com/widgets.js[^>]*["']? | \
   \s dummyLine \
)[^>]*></script> \
@<!-- Blocked Widget Twitter Button: $1 --> \
@igsUx

the above filter works well in view source as it show the block request 
but not all dom source's go figure.

here is the request:
</div></div><script 
src="http://js.washingtonpost.com/wpost/javascript/bootstrap/bootstrap.facebook.sdk.js" \
 type="text/javascript"></script><script 
src="http://platform.twitter.com/widgets.js" 
type="text/javascript"></script><div id="fancybox-tmp"></div><div 
id="fancybox-loading"><div></div></div><div 
id="fancybox-overlay"></div><div id="fancybox-wrap"><div 
id="fancybox-outer"><div class="fancy-bg" id="fancy-bg-n"></div><div 
class="fancy-bg" id="fancy-bg-ne"></div><div class="fancy-bg" 
id="fancy-bg-e"></div><div class="fancy-bg" id="fancy-bg-se"></div><div 
class="fancy-bg" id="fancy-bg-s"></div><div class="fancy-bg" 
id="fancy-bg-sw"></div><div class="fancy-bg" id="fancy-bg-w"></div><div 
class="fancy-bg" id="fancy-bg-nw"></div><div 
id="fancybox-inner"></div><a id="fancybox-close"></a><a 
href="javascript:;" id="fancybox-left"><span class="fancy-ico" 
id="fancybox-left-ico"></span></a><a href="javascript:;" 
id="fancybox-right"><span class="fancy-ico" 
id="fancybox-right-ico"></span></a></div></div><div>

this is the url:
http://www.washingtonpost.com/blogs/worldviews/wp/2013/02/22/american-teacher-in-japan-under-fire-for-lessons-on-japans-history-of-discrimination/


P.S this request does not show up in view source in browser but does 
show up in Generate view source (Dom source). in Firefox 19 in mac

It does block through the action file.
2013-02-24 17:29:22.356 00000320 Crunch: Blocked: 
http://platform.twitter.com/widgets.js




------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Ijbswa-users mailing list
Ijbswa-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ijbswa-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic