We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83995ec commit 7a63a0eCopy full SHA for 7a63a0e
1 file changed
SimplyTrack/Services/WebTrackingService.swift
@@ -121,9 +121,10 @@ class WebTrackingService {
121
return nil
122
}
123
124
- // Check if private browsing is active and tracking is disabled
+ // Check if private browsing is active and tracking is disabled.
125
+ // Detection can fail transiently, especially for Safari via System Events; only block on confirmed private mode.
126
if !trackPrivateBrowsing {
- guard let isPrivateBrowsing = browser.isInPrivateBrowsingMode(), !isPrivateBrowsing else {
127
+ if browser.isInPrivateBrowsingMode() == true {
128
129
130
0 commit comments