* Follow redirects before Download link dialog.
Unwrap Google/DuckDuckGo redirector URLs and HTTP 3xx so long-press Download link opens the dialog with the final file URL, mime, and size.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Resolve Download link redirects via WebView first.
HttpURLConnection often gets Cloudflare 403 HTML for shorteners like rb.gy, which made the dialog offer rg2rd4.html. Prefer a hidden WebView (and ignore HTML error bodies on the HTTP fallback).
Co-authored-by: Cursor <cursoragent@cursor.com>
---------
Co-authored-by: Cursor <cursoragent@cursor.com>