diff --git a/CHANGELOG.md b/CHANGELOG.md index 4a93c4a0a..40ac9b928 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ - Minor: Added the ability to duplicate tabs. (#5277) - Minor: Improved error messages for channel update commands. (#5429) - Minor: Moderators can now see when users are warned. (#5441) +- Minor: Added support for Brave & google-chrome-stable browsers. (#5452) - Bugfix: Fixed tab move animation occasionally failing to start after closing a tab. (#5426) - Bugfix: If a network request errors with 200 OK, Qt's error code is now reported instead of the HTTP status. (#5378) - Bugfix: Fixed restricted users usernames not being clickable. (#5405) diff --git a/src/util/IncognitoBrowser.cpp b/src/util/IncognitoBrowser.cpp index 93ae2983b..77f14160a 100644 --- a/src/util/IncognitoBrowser.cpp +++ b/src/util/IncognitoBrowser.cpp @@ -16,12 +16,20 @@ QString getPrivateSwitch(const QString &browserExecutable) { // list of command line switches to turn on private browsing in browsers static auto switches = std::vector>{ - {"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"}, - {"firefox-esr", "-private-window"}, {"chromium", "-incognito"}, + {"firefox", "-private-window"}, + {"librewolf", "-private-window"}, + {"waterfox", "-private-window"}, + {"icecat", "-private-window"}, + {"chrome", "-incognito"}, + {"google-chrome-stable", "-incognito"}, + {"vivaldi", "-incognito"}, + {"opera", "-newprivatetab"}, + {"opera\\launcher", "--private"}, + {"iexplore", "-private"}, + {"msedge", "-inprivate"}, + {"firefox-esr", "-private-window"}, + {"chromium", "-incognito"}, + {"brave", "-incognito"}, }; // compare case-insensitively