#“How to fetch external website HTML in Tauri (bypassing CORS) and render safely in React”

6 messages · Page 1 of 1 (latest)

sonic berry
#

Can't help with 2nd or 3rd as I dont understand

proper vine
#

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?

sonic berry
#

Oh I misread

#

Hm, maybe someone else can help you with this

#

I never tried