You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
For browser based OAuth where you cannot guarantee the existence of a web browser but can guarantee the existence of a WebView, having an option to launch a webview as incognito would be useful.
Would you want to assign yourself to implement this feature?
Yes
No
Other (I did a PoC for WebView2)
Additional context
On Windows, it could be done by modifying InnerWebView::create_controller to something like this:
Any idea for macOS/iOS and Android? I do have both Windows and WebKitGTK both implemented now (but I did have to use is_ephemeral on WebViewBuilder rather than enable_private_browsing to make the behavior more consistent like on Windows)
…o`, closes#908 (#916)
* impl Incognito for WebKitGTK and WebView2
* Fix broken commit
* i hate objc
* Mark Android as unsupported
* fix broken webview2 module
* better example
* example currently broken
* forgot change file
* update
* Fix WebKitGTK
* Share same code when creating context
* Cargo fmt
* Clean gitignore
* Simply more code
* Small patches to WKWebView, thank you pewsheen!
* Fix example on Windows
* Fix an oversight on WKWebView
* Fix webkit2gtk implementation
* Rename to with_incognito
* Fix WKWebView type annotations
* Fix warnings on wkwebview
* Remove examples
We can test with existing sites instead.
* Update docs
* Cargo fmt
---------
Co-authored-by: Wu Yu Wei <[email protected]>
Co-authored-by: Wu Wayne <[email protected]>
Is your feature request related to a problem? Please describe.
For browser based OAuth where you cannot guarantee the existence of a web browser but can guarantee the existence of a WebView, having an option to launch a webview as incognito would be useful.
Would you want to assign yourself to implement this feature?
Other (I did a PoC for WebView2)
Additional context
On Windows, it could be done by modifying
InnerWebView::create_controller
to something like this:It would be needed to cast
env
to ICoreWebView2Environment10 first as ICoreWebView2Environment wouldn't have CreateCoreWebView2ControllerWithOptions.The text was updated successfully, but these errors were encountered: