1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-03 01:29:39 +02:00
uBlock/platform/chromium
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
..
is-webrtc-supported.html fix warnings in browser console 2017-07-25 11:59:52 -04:00
is-webrtc-supported.js this fixes https://github.com/gorhill/uBlock/issues/533#issuecomment-167931681 2015-12-31 09:24:55 -05:00
managed_storage.json #985: might be the missing trailing # 2015-11-27 14:30:17 -05:00
manifest.json Add virtuous signal that remote code execution is not possible 2019-07-21 10:37:58 -04:00
vapi-background.js Fine tune hostname uncloaking through CNAME-lookup 2019-11-23 13:07:23 -05:00
vapi-client-extra.js Simplify client messaging code 2019-09-19 08:31:38 -04:00
vapi-client.js Use self when testing for vAPI presence 2019-09-30 07:50:35 -04:00
vapi-common.js Code review for dns lookup code 2019-11-20 10:45:17 -05:00
vapi-usercss.js Add ability to report exception cosmetic filters in the logger 2019-05-16 13:44:49 -04:00
vapi-usercss.pseudo.js Fix internal cosmetic filter being reported in the logger 2019-06-20 07:14:34 -04:00
vapi-usercss.real.js Work toward modernizing code base: promisification 2019-09-17 15:15:01 -04:00
vapi-webrequest.js Add support for ping static filter option 2019-09-22 09:11:55 -04:00
vapi.js Fix regression in cosmetic filtering 2019-09-30 10:40:56 -04:00
webext.js Prevent spurious error messages to browser console 2019-09-23 09:29:17 -04:00