Support Requests item #617901, was opened at 2002-10-03 05:53
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=211118&aid=617901&group_id=11118
Category: blocking
Group: 3.0.x
>Status: Closed
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: How do I allow user-initiated popups?
Initial Comment:
I just installed Privoxy 3.0.0 on my 366 MHz iBook SE
running Mac OS 10.2. I love the way it works with Internet
Explorer 5.2.2 (which I'll be dumping as soon as Mozilla,
Opera, Chimera, iCab or OmniWeb can compete with IE in
features and speed), except for one thing: I DO want it to
block unrequested popups, but I DO NOT want it to block
popups that I request. For instance, when I am reading a
Yahoo news story and want to email it to my wife, clicking on
the "Email This Story" link should initiate a popup window for
me to enter her email address, etc., but Privoxy blocks this. I
tried to figure out which Privoxy action controls user-initiated
popups, but I could not, and even if I could, I doubt I would
know how to change it correctly. I have spent a couple of
hours reading the documentation, but I'm afraid it fails to
make sense to my nontechnical mind. If anyone could walk
me through the proecess, I'd be grateful.
Jay Boshara.
----------------------------------------------------------------------
>Comment By: Andreas Oesterhelt (oes)
Date: 2002-10-07 14:39
Message:
Logged In: YES
user_id=78811
Adding to what Hal said, there has an approach been
suggested which reportedly works in another popup-killing
proxy (Proxomitron IIRC), which inserts a nop JS function
at the beginning of each page, replaces all calls to window.open
inside the page with said function call (so they NOP if called
while loading the page) and appends a new defintion of the
function as window.open at the end, overwriting the previous
one. This is a nice trick and about as far as we can go at
distinguishing between wanted and unwanted pop-ups
without AI.
It can be implemented as a filter with three jobs, but only
kills
on-load popups, though. Moving or resizing the
window, or even moving the mouse could still trigger
popups with this approach.
----------------------------------------------------------------------
Comment By: Hal Burgiss (hal9)
Date: 2002-10-03 19:20
Message:
Logged In: YES
user_id=322640
You are approaching this from the wrong direction. There is
no way for Privoxy to know why a link is requested. The
browser just sends *a request*.
What you probably want to do is set an exception to match
these links in your user.action file. Right click on the
link in question, select 'Copy link location' (or whatever
is equivalent), and use this value in a custom action section:
{-block -kill-popups -filter }
some.yahoo.com/some/path/to/something #paste value here
Leave off the http:// part. That might be a little over
aggressive since it turns off all filtering, which may or
may not be the best approach.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=211118&aid=617901&group_id=11118
|