Avoid Chrome’s ‘no-referrers’ And ‘reduced-referrer-granularity’

Do not use --no-referrers and --reduced-referrer-granularity command-line switches with chrome.exe (neither Google-Chrome nor Chromium).

There is an old bug that will f**k up the rendering AND the network engines,
and that will render some websites useless/ non-reactive.

– Mostly those whom are using ajax-login/dynamic (in DOM) cookie updates.

You CAN (and should) use the chrome://flags/#reduced-referrer-granularity flag instead.

Chromium Code-Search

https://cs.chromium.org/chromium/src/third_party/WebKit/Source/core/

https://cs.chromium.org/chromium/src/ui/gl/gl_switches.cc?q=_switches.cc&sq=package:chromium&dr

https://chromium.googlesource.com/chromium/src/+/master/ui/gl/gl_switches.cc

raw content:

https://cs.chromium.org/codesearch/f/chromium/src/ui/gl/gl_switches.cc?cl=0


https://cs.chromium.org/chromium/src/ui/gl/gl_switches.cc?q=_switches.cc&sq=package:chromium&dr
https://chromium.googlesource.com/chromium/src/+/master/ui/gl/gl_switches.cc
https://cs.chromium.org/codesearch/f/chromium/src/ui/gl/gl_switches.cc?cl=0

for example, here are all the “switches” files, in raw mode, which may help you include them in a script using cURL or wGet:

https://cs.chromium.org/codesearch/f/chromium/src/android_webview/common/aw_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/ash/common/ash_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/base/base_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/base/i18n/base_i18n_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/base/test/test_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/blimp/client/core/switches/blimp_client_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/chrome/browser/supervised_user/experimental/supervised_user_filtering_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/chrome/common/chrome_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/chrome/test/base/test_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/chromecast/base/chromecast_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/chromecast/net/net_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/chromeos/chromeos_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/components/autofill/core/common/autofill_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/components/browser_sync/browser_sync_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/components/component_updater/component_updater_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/components/crash/content/app/crash_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/components/crash/content/app/crashpad_win.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/components/data_reduction_proxy/core/common/data_reduction_proxy_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/components/dom_distiller/core/dom_distiller_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/components/error_page/common/error_page_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/components/feedback/feedback_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/components/flags_ui/flags_ui_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/components/google/core/browser/google_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/components/infobars/core/infobars_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/components/invalidation/impl/invalidation_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/components/metrics/metrics_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/components/nacl/common/nacl_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/components/os_crypt/os_crypt_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/components/policy/core/common/policy_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/components/precache/core/precache_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/components/search/search_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/components/search_engines/search_engines_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/components/signin/core/common/profile_management_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/components/signin/core/common/signin_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/components/sync/driver/sync_driver_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/components/tracing/common/tracing_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/components/translate/core/common/translate_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/components/variations/variations_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/content/public/common/content_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/content/shell/common/layout_test/layout_test_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/content/shell/common/shell_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/extensions/common/feature_switch.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/google_apis/gaia/gaia_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/google_apis/gcm/engine/gservices_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/gpu/command_buffer/client/gpu_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/gpu/config/gpu_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/headless/app/headless_shell_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/ios/chrome/browser/chrome_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/media/base/media_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/media/midi/midi_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/ppapi/shared_impl/ppapi_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/ui/app_list/app_list_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/ui/base/ui_base_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/ui/compositor/compositor_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/ui/display/display_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/ui/events/event_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/ui/gfx/x/x11_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/ui/gl/gl_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/ui/keyboard/keyboard_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/ui/message_center/message_center_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/ui/native_theme/native_theme_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/ui/ozone/public/ozone_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/ui/views/views_switches.cc?cl=0
https://cs.chromium.org/codesearch/f/chromium/src/ui/wm/core/wm_core_switches.cc?cl=0

also may be useful:

https://cs.chromium.org/codesearch/f/chromium/src/chrome/app/chrome_exe_main_win.cc?cl=0

this windows-batch script will download and append each of the files, to a single “switches.cc” file, then it will open it with Notepad++.
(Just put all the files in “switches_urls.txt” file, place wGet.exe somewhere and modify the path to Notepad++.exe)

@echo off
::cleanup
if exist switches.cc   del /f /q switches.cc   >nul

::download
call d:\DOS\wGet\wget.exe         ^
--input-file="switches_urls.txt"  ^
--user-agent="Mozilla/5"          ^
--no-check-certificate            ^
--secure-protocol="auto"          ^
--auth-no-challenge               ^
--no-directories                  ^
--directory-prefix=.              ^
--output-document="switches.cc"

::open for viewing (optional)
call "D:\Software\Notepad++\Notepad++.exe" switches.cc