SEBWIN-450: Disabled context menus, dev tools and status bar for proctoring view.

This commit is contained in:
Damian Büchel 2021-04-18 17:37:35 +02:00
parent 5d05acb6d7
commit 8187799929

View file

@ -30,6 +30,9 @@ namespace SafeExamBrowser.Proctoring
{
if (e.IsSuccess)
{
CoreWebView2.Settings.AreDefaultContextMenusEnabled = false;
CoreWebView2.Settings.AreDevToolsEnabled = false;
CoreWebView2.Settings.IsStatusBarEnabled = false;
CoreWebView2.ContainsFullScreenElementChanged += CoreWebView2_ContainsFullScreenElementChanged;
CoreWebView2.PermissionRequested += CoreWebView2_PermissionRequested;
logger.Info("Successfully initialized.");