Patch implements functions similar to Firefox addon RequestPolicy. [1] It allows user to control automatic requests more flexible than filter_auto_requests option. Patch removes this option and replaces it with file .dillo/domainrc that looks like this: default deny wikipedia.org .wikimedia.org wikisource.org .wikimedia.org wikitionary.org .wikimedia.org wikiversity.org .wikimedia.org That way most requests are denied, but images on wikipedia are loaded from wikimedia.org without clicking on them. Patterns can start with "." to allow subdomains. Special pattern "*" can be used to allow requests to any domains from some domain (for example if it is a website full of external images) or to allow requests from any domain to some domain (maybe CDN). Without domainrc file all cross-domain requests are denied. [1] https://www.requestpolicy.com/
Fixed error messages, they lacked newline. Sample domainrc is attached.
p37sitdu wrote:
Patch implements functions similar to Firefox addon RequestPolicy. [1] It allows user to control automatic requests more flexible than filter_auto_requests option. Patch removes this option and replaces it with file .dillo/domainrc that looks like this:
default deny wikipedia.org .wikimedia.org wikisource.org .wikimedia.org wikitionary.org .wikimedia.org wikiversity.org .wikimedia.org
That way most requests are denied, but images on wikipedia are loaded from wikimedia.org without clicking on them.
Patterns can start with "." to allow subdomains.
Special pattern "*" can be used to allow requests to any domains from some domain (for example if it is a website full of external images) or to allow requests from any domain to some domain (maybe CDN).
Without domainrc file all cross-domain requests are denied.
Committed with a little dilloification, etc. At the moment, I have the default set to accept rather than deny, thinking that it might be easier for us to build up a sample or default domainrc with a bunch of notorious ad sites to blacklist than it would be to whitelist enough common sites that use a [site]images.com or suchlike.
I should mention that I was playing around with printing a summary at freeall time in order to see which sites are the worst offenders. Diff attached.
On Wed, Oct 03, 2012 at 02:04:45AM +0000, corvid wrote:
Committed with a little dilloification, etc.
You did not remove filter_auto_requests preference (see my patch [1]). It is not necessary: no domainrc can work as filter_auto_requests=allow_all and when domainrc with "default deny" is present it is the same as filter_auto_requests=same_domain. [1] http://lists.auriga.wearlab.de/pipermail/dillo-dev/2012-August/009394.html
participants (2)
-
corvid@lavabit.com
-
p37sitdu@lavabit.com