diff options
author | corvid <corvid@lavabit.com> | 2012-11-05 19:46:02 +0000 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2012-11-05 19:46:02 +0000 |
commit | dcb9f936405abc7ae9b67b7896568575afccfba3 (patch) | |
tree | bca4be2ba2122281eccdce2b599a3ba7dbf85742 /src | |
parent | 24e9552f57ba4b10f6859acaa9a0218caf9cadf8 (diff) |
domainrc
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 4 | ||||
-rw-r--r-- | src/domainrc | 31 |
2 files changed, 33 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 05bbe00e..ceba3e01 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -123,5 +123,5 @@ dillo_SOURCES = \ xembed.cc \ xembed.hh -EXTRA_DIST = chg srch keysrc -sysconf_DATA = keysrc +dist_sysconf_DATA = domainrc keysrc +EXTRA_DIST = chg srch diff --git a/src/domainrc b/src/domainrc new file mode 100644 index 00000000..44380fd0 --- /dev/null +++ b/src/domainrc @@ -0,0 +1,31 @@ +# domainrc - Dillo cross-domain request rules file. +# +# Here you can tell Dillo what to do when one site wants to retrieve resources +# (e.g., images, style sheets, redirection) from a different site. +# +# Lines that begin with a '#' are comments. + +# Default rule can be "accept" or "deny". + +default accept + + +# Now we list exceptions to the default. The format is: +# +# source destination +# +# There are three ways that you can specify a source or destination domain: +# +# 1. * - wildcard will match any domain +# 2. example.com - match the specific host example.com +# 3. .example.com - match example.com and any of its subdomains + +# Let's block some of the most notorious ad sites and trackers. + +* .admt.com +* .adnxs.com +* .crwdcntrl.com +* .doubleclick.net +* .quantserve.com +* .scorecardresearch.com +* .yieldmanager.com |