Added librewolf, icecat, and waterfox incognito support. (#3588)

Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
This commit is contained in:
Brian 2022-03-06 07:36:20 -05:00 committed by GitHub
parent 34aadbf7d8
commit 45d96afc14
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 4 deletions

View file

@ -58,6 +58,7 @@
- Minor: Added incremental search to channel search. (#3544) - Minor: Added incremental search to channel search. (#3544)
- Minor: Show right click context menu anywhere within a message's line. (#3566) - Minor: Show right click context menu anywhere within a message's line. (#3566)
- Minor: Make Tab Layout setting only accept predefined values (#3564) - 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: Fix Split Input hotkeys not being available when input is hidden (#3362)
- Bugfix: Fixed colored usernames sometimes not working. (#3170) - Bugfix: Fixed colored usernames sometimes not working. (#3170)
- Bugfix: Restored ability to send duplicate `/me` messages. (#3166) - Bugfix: Restored ability to send duplicate `/me` messages. (#3166)

View file

@ -12,10 +12,11 @@ namespace {
{ {
// list of command line switches to turn on private browsing in browsers // list of command line switches to turn on private browsing in browsers
static auto switches = std::vector<std::pair<QString, QString>>{ static auto switches = std::vector<std::pair<QString, QString>>{
{"firefox", "-private-window"}, {"chrome", "-incognito"}, {"firefox", "-private-window"}, {"librewolf", "-private-window"},
{"vivaldi", "-incognito"}, {"opera", "-newprivatetab"}, {"waterfox", "-private-window"}, {"icecat", "-private-window"},
{"opera\\\\launcher", "--private"}, {"iexplore", "-private"}, {"chrome", "-incognito"}, {"vivaldi", "-incognito"},
{"msedge", "-inprivate"}, {"opera", "-newprivatetab"}, {"opera\\\\launcher", "--private"},
{"iexplore", "-private"}, {"msedge", "-inprivate"},
}; };
// transform into regex and replacement string // transform into regex and replacement string