Closed MikeWang000000 closed 2 months ago
Is it platform independent?
Is it platform independent?
Yes, it is platform independent.
Disabling referrer (chrome://flags/#minimal-referrers) makes URL part be gone right from the first attempt. :)
btw, chrome --disable-features=DownloadsPageReferrerUrl
can be a quick fix. This patch makes this option the default.
I can verify that after applying this patch, we can see the url part with chrome://flags/#minimal-referrers
enabled.
Nice patch, thanks!
I'd say we just wait for the next upstream bump to include this
Disable DownloadsPageReferrerUrl feature by default
This patch will disable
DownloadsPageReferrerUrl
feature by default.The
DownloadsPageReferrerUrl
feature is introduced by https://chromium-review.googlesource.com/c/chromium/src/+/5589888 .Since chromium 127, users are unable to get real download url from
chrome://downloads
.For example, download this file using chromium: https://commondatastorage.googleapis.com/chromium-browser-official/chromium-128.0.6613.84.tar.xz
The
chrome://downloads
page only shows its referrer. Click "Copy Link Address" in the menu will get its referrerhttps://github.com/...
instead of real download urlhttps://commondatastorage.googleapis.com/...
.If we copy this link and paste to omnibox to download (without referrer), the url part will be completely empty.
I don't think it is a meaningful feature. It makes user more difficult to get the real url (especially the download link has redirects). Also, the original url will be lost if we download mannually by url. Disable it so chromium's
chrome://downloads
will behave the same as before version 127.