#“How to fetch external website HTML in Tauri (bypassing CORS) and render safely in React”
6 messages · Page 1 of 1 (latest)
Just to clarify my goal:
-
I don’t want Rust to open a separate window. I want the external website to be embedded directly in my React frontend.
-
I need the website’s JavaScript to execute dynamically (like a native browsing experience), not just static HTML.
-
I understand some sites might block embedding via CSP/X-Frame-Options, but I’m looking for practical ways to handle or work around this inside Tauri.
Basically, is there a way to embed an arbitrary website in a Tauri WebView inside React with full dynamic JS, without opening new windows?