[Desktop] chrome://new-tab-page triggers unproxied requests to Google
See original GitHub issueDescription
Open chrome://new-tab-page
triggers requests to Google servers which don’t go through our proxy.
They go through a special URL scheme:
chrome-untrusted://new-tab-page/custom_background_image?url=https%3A%2F%2Flh4.googleusercontent.com%2Fproxy%2FkF...
Steps to Reproduce
- Run a local intercepting proxy like mitmproxy:
mitmproxy --socks --port 9000
- Start Brave in proxy mode:
brave-browser-nightly --proxy-server="socks5://localhost:9000"
- Open
chrome://new-tab-page
Actual result:
The following requests to Google servers are triggered:
https://www.google.com/async/newtab_ogb?hl=en-GB&async=fixed:0
https://www.google.com/async/ddljson?async=ntp:2
https://www.google.com/async/newtab_promos
https://fonts.googleapis.com/css?lang=en-GB&family=Product+Sans|Roboto:400,700
https://www.gstatic.com/og/_/ss/k=og.qtm.1kpmk2jdrun5m.L.W.O/m=qmd,qcwid/excm=qaaw,qabr,qadd,qaid,qalo,qebr,qein,qhaw,qhbr,qhch,qhga,qhid,qhin,qhlo,qhmn,qhpc,qhpr,qhsf,qhtb,qhtt/d=1/ed=1/ct=zgms/rs=AA2YrTvftdZCTQFhW1kDfl4AMFB...
https://www.gstatic.com/images/branding/googlelogo/svg/googlelogo_clr_74x24px.svg
https://www.gstatic.com/og/_/js/k=og.qtm.en_US.SvsPckT-cMA.O/rt=j/m=q_d,qmd,qcwid,qmutsd,qapid,qald/exm=qaaw,qabr,qadd,qaid,qalo,qebr,qein,qhaw,qhbr,qhch,qhga,qhid,qhin,qhlo,qhmn,qhpc,qhpr,qhsf,qhtb,qhtt/d=1/ed=1/rs=AA2YrTuLA...
https://ogs.google.com/widget/app/so?gm2&origin=chrome%3A%2F%2Fnew-tab-page&pid=1&spid=243&hl=en-GB&gm=
Expected result:
These should be proxied.
Reproduces how often:
Always.
Brave version (brave://version info)
Brave 1.12.79 Chromium: 84.0.4147.68 (Official Build) nightly (64-bit)
Revision e7b7234037639b407e69c5428c891ce018cd6c0d-refs/branch-heads/4147@{#772}
OS Linux
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
24 - Proxy causes some or all network requests to fail - Monorail
The proxy thing is pretty new here at my workplace, so I thought it might ... Chrome does not load any https pages...
Read more >Set Chrome policies for users or browsers - Google Support
Tip: Many admins leave the default settings and only configure settings, such as startup pages, new tab pages, apps and extensions, and themes....
Read more >Proxy support in Chrome
Chrome, Firefox, and Opera support HTTPS proxies; however, most older HTTP stacks do not. Specifying an HTTPS proxy is generally not possible through...
Read more >Chrome Browser Privacy Policy - Google
Preloading can be disabled via Chrome's privacy settings. If preloading is requested, the preloaded site may be allowed to set and read its...
Read more >Troubleshooting access and session controls - Microsoft Learn
App is not recognized page appears - Request ... Access to mobile and desktop apps can also be blocked or allowed. ... Open...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
An alternative to proxying these request would be to remove this page from Brave entirely.
Page is still up. I think there was a typo chrome://new-tag-page vs chrome://new-tab-page