Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Disabled firefox tracking protection
- Loading branch information
|
|
@@ -1692,12 +1692,14 @@ extension BrowserViewController: TabDelegate { |
|
|
historyStateHelper.delegate = self |
|
|
tab.addContentScript(historyStateHelper, name: HistoryStateHelper.name()) |
|
|
|
|
|
/* Cliqz: disable firefox tracking protection |
|
|
if #available(iOS 11, *) { |
|
|
if let blocker = tab.contentBlocker as? ContentBlockerHelper { |
|
|
blocker.setupTabTrackingProtection() |
|
|
tab.addContentScript(blocker, name: ContentBlockerHelper.name()) |
|
|
} |
|
|
} |
|
|
*/ |
|
|
|
|
|
tab.addContentScript(FocusHelper(tab: tab), name: FocusHelper.name()) |
|
|
} |
|
|
|
|
|
@@ -146,11 +146,13 @@ class Tab: NSObject { |
|
|
super.init() |
|
|
self.isPrivate = isPrivate |
|
|
|
|
|
/* Cliqz: disable firefox tracking protection |
|
|
if #available(iOS 11, *) { |
|
|
if let appDelegate = UIApplication.shared.delegate as? AppDelegate, let profile = appDelegate.profile { |
|
|
contentBlocker = ContentBlockerHelper(tab: self, profile: profile) |
|
|
} |
|
|
} |
|
|
*/ |
|
|
} |
|
|
|
|
|
class func toTab(_ tab: Tab) -> RemoteTab? { |
|
|
|