uBlock/src
Raymond Hill a16e4161de
Fine tune hostname uncloaking through CNAME-lookup
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/780

Related commit:
- https://github.com/gorhill/uBlock/commit/3a564c199260

This adds two new advanced settings:

- cnameIgnoreRootDocument
  - Default to `true`
  - Tells uBO to skip CNAME-lookup for root document.

- cnameReplayFullURL
  - Default to `false`
  - Tells uBO whether to replay the whole URL or just
    the origin part of it.
    Replaying only the origin part is meant to lower
    undue breakage and improve performance by avoiding
    repeating the pattern-matching of the whole URL --
    which pattern-matching was most likely already
    accomplished with the original request.

This commit is meant to explore enabling CNAME-lookup
by default for the next stable release while:

- Eliminating a development burden by removing the
  need to create a new filtering syntax to deal with
  undesirable CNAME-cloaked hostnames

- Eliminating a filter list maintainer burden by
  removing the need to find/deal with all base
  domains which engage in undesirable CNAME-cloaked
  hostnames

The hope is that the approach implemented in this
commit should require at most a few unbreak rules
with no further need for special filtering syntax
or filter list maintance efforts.
2019-11-23 13:07:23 -05:00
..
_locales Import translation work from https://crowdin.com/project/ublock 2019-11-18 11:29:54 -05:00
css Fine tune hostname uncloaking through CNAME-lookup 2019-11-23 13:07:23 -05:00
img Integrate bare-bone filter hit stats in the logger 2019-05-24 11:18:39 -04:00
js Fine tune hostname uncloaking through CNAME-lookup 2019-11-23 13:07:23 -05:00
lib Fix page count computation in publicSuffixList.enableWASM() 2019-04-25 19:40:07 -04:00
web_accessible_resources Detect/prevent the creation of already existing iframe tags 2019-11-19 08:49:38 -05:00
1p-filters.html Add a link to the remote asset in asset viewer 2019-05-23 19:29:59 -04:00
3p-filters.html Simplify client messaging code 2019-09-19 08:31:38 -04:00
about.html Select existing "Advanced settings" page if any 2019-05-25 08:31:06 -04:00
advanced-settings.html make use of CodeMirror in "Advanced settings" page 2018-08-13 10:21:42 -04:00
asset-viewer.html Add a link to the remote asset in asset viewer 2019-05-23 19:29:59 -04:00
background.html Work toward modernizing code base: promisification 2019-09-16 09:45:17 -04:00
cloud-ui.html fix https://github.com/uBlockOrigin/uBlock-issues/issues/171 2018-08-31 10:50:19 -04:00
dashboard.html Warn when navigating away from pane with unsaved changes 2019-05-19 15:35:00 -04:00
document-blocked.html Further fine tune layout for small screen devices; use SVG for icon 2018-12-21 08:16:24 -05:00
dyna-rules.html Use `type="search"` for search input fields 2019-11-03 13:14:29 -05:00
epicker.html Allow element picker dialog to be moved around 2019-11-05 12:03:48 -05:00
logger-ui.html Fine tune hostname uncloaking through CNAME-lookup 2019-11-23 13:07:23 -05:00
popup.html Grand refactoring of the logger 2019-01-12 16:36:20 -05:00
settings.html Grand refactoring of the logger 2019-01-12 16:36:20 -05:00
shortcuts.html fix https://github.com/uBlockOrigin/uBlock-issues/issues/106 2018-07-18 18:00:55 -04:00
whitelist.html Add a link to the remote asset in asset viewer 2019-05-23 19:29:59 -04:00