[ ijbswa-Actionsfile feedback-1765798 ] zdnet "layered popup"
SourceForge.net <[email protected]>
| Newsgroups | gmane.comp.web.privoxy.devel |
|---|---|
| Message-ID | <[email protected]> |
Actionsfile feedback item #1765798, was opened at 2007-08-01 16:48
Message generated for change (Comment added) made by fabiankeil
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=460288&aid=1765798&group_id=11118
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: filter: ad-not-blocked
Group: action file version 2.0
>Status: Closed
>Resolution: Out of Date
Priority: 5
Private: No
Submitted By: Francois Marier (fmarier)
>Assigned to: Fabian Keil (fabiankeil)
Summary: zdnet "layered popup"
Initial Comment:
There's a really annoying "survey" popup that's displayed on top of the article the first time that this page is loaded:
http://www.zdnetasia.com/blog/opensource/0,39060102,63000113,00.htm
I haven't found a way to disable it. One of the problems is that it goes away once the page is reloaded, making testing very difficult. Is there a general way to get rid of these annoyances?
It looks pretty effective at going around privoxy and other filters so I suspect it might become more popular...
Francois
----------------------------------------------------------------------
>Comment By: Fabian Keil (fabiankeil)
Date: 2012-12-15 04:48
Message:
The survey no longer exists.
In general JavaScript ads are more reliably dealt with by not enabling
JavaScript for untrustworthy sites.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2007-08-15 00:03
Message:
Logged In: NO
Hi Francois,
You can disable it the same way they disable it on a page reload - don't
change the display style from 'none' to 'inline'.
If you don't already have a user.filter file in your Privoxy directory,
create an empty 'user.filter' file and remove the leading # from the
#filterfile user.filter # User customizations
line in config.txt
Add the following to your user.filter file:
##################################################################################
#
# disable-inline-style: prevent javascript from changing style.display to
'inline'
# For example
# popup.style.display = 'inline';
# gets changed to
# popup.style.display = 'none';
#
#################################################################################
FILTER: disable-inline-style
s@\.style\.display\s*=\s*(['"])inline\1@\.style\.display = $1none$1@s
And then add the following to your user.action file:
{ +prevent-compression +filter{disable-inline-style} }
.zdnetasia.com/
I'd also add
{ +block +handle-as-empty-document }
.zdnetasia.com/i/js/s_code\.js
.imrworldwide.com/v52\.js
on general principals, but neither of those .js files has anything to do
with the popup you're seeing.
Good luck!
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=460288&aid=1765798&group_id=11118
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d