Skip to content
Permalink
Browse files

Document --fingerprinting-client-rects-noise and change explanation

  • Loading branch information
Eloston committed May 8, 2018
1 parent 71f59c2 commit 7cb9c1cb07509db97bac1f613b53b86089564a0d
Showing with 3 additions and 2 deletions.
  1. +1 −0 README.md
  2. +2 −2 resources/patches/ungoogled-chromium/fingerprinting-flag-client-rects-noise.patch
@@ -51,6 +51,7 @@ Most of the **additional** features are as follows:
* `--disable-search-engine-collection` - Disable automatic search engine scraping from webpages.
* `--enable-stacked-tab-strip` and `--enable-tab-adjust-layout` - These flags adjust the tab strip behavior. `--enable-stacked-tab-strip` is also configurable in `chrome://flags` Please note that they are not well tested, so proceed with caution.
* `--extension-mime-request-handling` - Change how extension MIME types (CRX and user scripts) are handled. Acceptable values are `download-as-regular-file` or `install-always`. Leave unset to use normal behavior. It is also configurable under `chrome://flags`
* `--fingerprinting-client-rects-noise` - Implements fingerprinting deception of JS APIs `getClientRects()` and `getBoundingClientRect()` by scaling their output values with a random factor in the range -5% to 5%, which are recomputed for every document instantiation.
* `--set-ipv6-probe-false` - (Not in `chrome://flags`) Forces the result of the browser's IPv6 probing (i.e. IPv6 connectivity test) to be unsuccessful. This causes IPv4 addresses to be prioritized over IPv6 addresses. Without this flag, the probing result is set to be successful, which causes IPv6 to be used over IPv4 when possible.
* Force all pop-ups into tabs
* Disable [Safe Browsing](//en.wikipedia.org/wiki/Google_Safe_Browsing)
@@ -1,4 +1,4 @@
# Add chrome://flag to enable fingerprinting deception for getClientRects and getBoundingClientRect
# Add flag --fingerprinting-client-rects-noise to enable fingerprinting deception for getClientRects and getBoundingClientRect
# Based on https://github.com/Eloston/ungoogled-chromium/pull/377/commits/4151259b3248f0fc5c42fa262a1d1dd43c39fb60

--- a/chrome/browser/about_flags.cc
@@ -17,7 +17,7 @@
kOsAll, SINGLE_VALUE_TYPE("force-punycode-hostnames")},
+ {"fingerprinting-client-rects-noise",
+ "Enable get*ClientRects() fingerprint deception",
+ "Randomly applies -5% to 5% scaling to getClientRects and getBoundingClientRects values.",
+ "Scale the output values of getClientRects() and getBoundingClientRect() with a randomly selected factor in the range -5% to 5%, which are recomputed on every document initialization.",
+ kOsAll, SINGLE_VALUE_TYPE(switches::kFingerprintingClientRectsNoise)},

{"ignore-gpu-blacklist", flag_descriptions::kIgnoreGpuBlacklistName,

0 comments on commit 7cb9c1c

Please sign in to comment.
You can’t perform that action at this time.