Skip to content

Commit

Permalink
Added redirectOnlyInIncognito to each service #954
Browse files Browse the repository at this point in the history
  • Loading branch information
ManeraKai committed Aug 18, 2024
1 parent b8539e9 commit 3c3cc17
Show file tree
Hide file tree
Showing 3 changed files with 107 additions and 46 deletions.
2 changes: 2 additions & 0 deletions src/assets/javascripts/services.js
Original file line number Diff line number Diff line change
Expand Up @@ -609,6 +609,8 @@ function redirect(url, type, initiator, forceRedirection, incognito) {

frontend = options[service].frontend

if (options[service].redirectOnlyInIncognito == true && !incognito) continue

if (
config.services[service].frontends[frontend].desktopApp &&
type != "main_frame" &&
Expand Down
Loading

0 comments on commit 3c3cc17

Please sign in to comment.