Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Delphi TWebbrowser und InPrivate-Modus (https://www.delphipraxis.net/208239-twebbrowser-und-inprivate-modus.html)

Bernhard Geyer 1. Jul 2021 10:50

TWebbrowser und InPrivate-Modus
 
Ich will in meiner Anwendung mehrer TEdgeBrowser-Instanzen einbinden.
Jedoch soll jede Instanz "InPrivate" laufen. D.h. es sollen keine Informationen zwischen den instanzen ausgetauscht werden.
Habe leider dazu kein passende Property/Methode zum setzen gefunden.

Der schöne Günther 1. Jul 2021 11:19

AW: TWebbrowser und InPrivate-Modus
 
Das geht über die UserData-Ordner. Ob die Embarcadero-API es schwierig macht den Parameter mitzugeben weiß ich nicht mehr, aber notfalls konnte man das auch per Umgebungsvariable festlegen.

Zitat:

To isolate different parts of your application or when sharing data between WebView2 controls is not needed, you may choose to use different user data folders. For example, an application may consist of two WebView2 controls, one for displaying an advertisement and the other for displaying application content. In this scenario, developers may opt to use different user data folders for each WebView2 control.
https://docs.microsoft.com/en-us/mic...er-data-folder

Siehe auch:
https://github.com/MicrosoftEdge/Web...back/issues/39

Bernhard Geyer 1. Jul 2021 12:33

AW: TWebbrowser und InPrivate-Modus
 
Danke.
Das wars :thumb:


Alle Zeitangaben in WEZ +1. Es ist jetzt 16:33 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz