From 45d96afc140980a8b6ed2340d345269291042d79 Mon Sep 17 00:00:00 2001 From: Brian <18603393+brian6932@users.noreply.github.com> Date: Sun, 6 Mar 2022 07:36:20 -0500 Subject: [PATCH] Added librewolf, icecat, and waterfox incognito support. (#3588) Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com> --- CHANGELOG.md | 1 + src/util/IncognitoBrowser.cpp | 9 +++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 75c805147..c43bde551 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -58,6 +58,7 @@ - Minor: Added incremental search to channel search. (#3544) - Minor: Show right click context menu anywhere within a message's line. (#3566) - Minor: Make Tab Layout setting only accept predefined values (#3564) +- Minor: Added librewolf, icecat, and waterfox incognito support. (#3588) - Bugfix: Fix Split Input hotkeys not being available when input is hidden (#3362) - Bugfix: Fixed colored usernames sometimes not working. (#3170) - Bugfix: Restored ability to send duplicate `/me` messages. (#3166) diff --git a/src/util/IncognitoBrowser.cpp b/src/util/IncognitoBrowser.cpp index 9ff1ba6e3..24e79a7e7 100644 --- a/src/util/IncognitoBrowser.cpp +++ b/src/util/IncognitoBrowser.cpp @@ -12,10 +12,11 @@ namespace { { // list of command line switches to turn on private browsing in browsers static auto switches = std::vector>{ - {"firefox", "-private-window"}, {"chrome", "-incognito"}, - {"vivaldi", "-incognito"}, {"opera", "-newprivatetab"}, - {"opera\\\\launcher", "--private"}, {"iexplore", "-private"}, - {"msedge", "-inprivate"}, + {"firefox", "-private-window"}, {"librewolf", "-private-window"}, + {"waterfox", "-private-window"}, {"icecat", "-private-window"}, + {"chrome", "-incognito"}, {"vivaldi", "-incognito"}, + {"opera", "-newprivatetab"}, {"opera\\\\launcher", "--private"}, + {"iexplore", "-private"}, {"msedge", "-inprivate"}, }; // transform into regex and replacement string