Replies: 5 comments 12 replies
-
Without wanting to hurt your feelings: Don't. Essentially building a browser is very different from building a webview UI where the source is trusted. Building a browser also requires a lot more effort on your end than you might imagine. A browser is almost on-par with operating systems when it comes to complexity. Interestingly enough electron and Tauri are on the same page here. Executing untrusted content in either framework is incredibly insecure and highly, highly, highly discouraged. Edit: If you want to build a Browser, you're much better off doing what Brave or Edge did and use the CEF (chromium embedded framework) directly |
Beta Was this translation helpful? Give feedback.
-
Brave and Edge both build on forked Chromium, but neither use CEF. |
Beta Was this translation helpful? Give feedback.
-
Is it possible to just load a website that is specified to load via tauri? |
Beta Was this translation helpful? Give feedback.
-
Did someone created yet? |
Beta Was this translation helpful? Give feedback.
-
I built a very rough POC in case anybody is interested. I don't want to invest too much time into it until multiwebview becomes a stable feature or unless some one pitches in for help. EDIT: I have pushed my code example in the This is added as a new example here. It can be run with from the top directory of the repo with It's rough because the main webview is a single webpage index.html using TailwindCSS and DaisyUI via CDN with imperative Javascript code for adding/listing/removing webviews, whereas for a real-app I'd like to use some kind of component framework like Svelte or Preact. Also, the webview size and placement is currently random. Also I have not yet figured out how to add window border and decoration because the webviews positioning is done in Rust but without any border. DaisyUI has a mock browser component but the size/position of webviews in Rust is with respect to the whole window/screen which is tricky to communicate and handle inside the main webview. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi the community,
I like Tauri, and i want to use him everywhere! I think to start a new project which will be a little web browser.
I am really curious about what do you think to start this kind of project with Tauri? Do you see any limitation or concern for this kind of project?
Beta Was this translation helpful? Give feedback.
All reactions