Support Requests item #3500783, was opened at 2012-03-09 15:46
Message generated for change (Comment added) made by fabiankeil
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=211118&aid=3500783&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: actions files
Group: 3.0.16
>Status: Closed
Priority: 5
Private: No
Submitted By: rssowluser4896 (rssowluser4896)
Assigned to: Fabian Keil (fabiankeil)
Summary: Block by originating domain?
Initial Comment:
Apologies if this is a simple question; I'm fairly familiar with Privoxy, and I have read the documentation, but I can't find the answer.
How can I block URLs iff they are referred to from outside a particular domain?
For example, if I wanted to {+block +handle-as-empty-document} all Facebook URLs ([*.]facebook.com, [*.]fbcdn.net, etc), unless they were referred to from HTML/a script originating within facebook.com or fbcdn.net, how would I go about it?
Thanks.
----------------------------------------------------------------------
>Comment By: Fabian Keil (fabiankeil)
Date: 2012-03-13 09:20
Message:
You're welcome.
----------------------------------------------------------------------
Comment By: rssowluser4896 (rssowluser4896)
Date: 2012-03-12 11:44
Message:
Most excellent. Thank you!
----------------------------------------------------------------------
Comment By: Fabian Keil (fabiankeil)
Date: 2012-03-12 11:13
Message:
You could add those URLs to a {+block +handle-as-empty-document} section
and additionally add a client-header-tagger to tag the requests with the
referer.
You can than unblock the requests where the referer tag fits your
criteria.
default.filter contains a user-agent tagger that can be used as a template
for the referer tagger.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=211118&aid=3500783&group_id=11118
|