mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
fix: Add brave & google-chrome-stable to incognito browser list (#5452)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
This commit is contained in:
parent
c1b2114e61
commit
66471075a5
|
@ -11,6 +11,7 @@
|
||||||
- Minor: Added the ability to duplicate tabs. (#5277)
|
- Minor: Added the ability to duplicate tabs. (#5277)
|
||||||
- Minor: Improved error messages for channel update commands. (#5429)
|
- Minor: Improved error messages for channel update commands. (#5429)
|
||||||
- Minor: Moderators can now see when users are warned. (#5441)
|
- 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: 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: 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)
|
- Bugfix: Fixed restricted users usernames not being clickable. (#5405)
|
||||||
|
|
|
@ -16,12 +16,20 @@ QString getPrivateSwitch(const QString &browserExecutable)
|
||||||
{
|
{
|
||||||
// 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"}, {"librewolf", "-private-window"},
|
{"firefox", "-private-window"},
|
||||||
{"waterfox", "-private-window"}, {"icecat", "-private-window"},
|
{"librewolf", "-private-window"},
|
||||||
{"chrome", "-incognito"}, {"vivaldi", "-incognito"},
|
{"waterfox", "-private-window"},
|
||||||
{"opera", "-newprivatetab"}, {"opera\\launcher", "--private"},
|
{"icecat", "-private-window"},
|
||||||
{"iexplore", "-private"}, {"msedge", "-inprivate"},
|
{"chrome", "-incognito"},
|
||||||
{"firefox-esr", "-private-window"}, {"chromium", "-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
|
// compare case-insensitively
|
||||||
|
|
Loading…
Reference in a new issue