From 5567ea75013ea7651b1f91dc8134ba4d3483a579 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Mon, 11 Feb 2019 18:47:09 +0100 Subject: [PATCH] Can enable incognito mode --- ApplicationMenu.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/ApplicationMenu.js b/ApplicationMenu.js index 388eb82..0c955fb 100644 --- a/ApplicationMenu.js +++ b/ApplicationMenu.js @@ -44,6 +44,16 @@ module.exports.Get = function(window){ click: () => { window.webContents.executeJavaScript("ComunicWeb.components.darkTheme.setEnabled(!ComunicWeb.components.darkTheme.isEnabled());"); } + }, + + + //Incognito mode + { + label: "Enable incognito mode", + sublabel: "F6", + click: () => { + window.webContents.executeJavaScript("ComunicWeb.components.incognito.ui.confirmEnable();"); + } } ] },