diff --git a/jslib b/jslib index 2e9ce157151..f4c4f280263 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit 2e9ce1571514e2b4ae9ed61a1368b2db03a0ca5d +Subproject commit f4c4f2802637f775c3bfba2ef4109350bc842b8f diff --git a/src/_locales/en/messages.json b/src/_locales/en/messages.json index c7037561960..592f6602a27 100644 --- a/src/_locales/en/messages.json +++ b/src/_locales/en/messages.json @@ -280,9 +280,6 @@ "other": { "message": "Other" }, - "disableGa": { - "message": "Disable Analytics" - }, "rateExtension": { "message": "Rate the Extension" }, @@ -496,9 +493,6 @@ "message": "No Folder", "description": "This is the folder for uncategorized items" }, - "gaDesc": { - "message": "We use analytics to better learn how the extension is being used so that we can make it better. All data collection is completely anonymous." - }, "disableAddLoginNotification": { "message": "Disable Add Login Notification" }, diff --git a/src/popup/settings/options.component.html b/src/popup/settings/options.component.html index 837b6967d67..9c479db0124 100644 --- a/src/popup/settings/options.component.html +++ b/src/popup/settings/options.component.html @@ -64,15 +64,6 @@ -
-
-
- - -
-
- -
diff --git a/src/popup/settings/options.component.ts b/src/popup/settings/options.component.ts index c53cc8b7f61..4f7992a10cd 100644 --- a/src/popup/settings/options.component.ts +++ b/src/popup/settings/options.component.ts @@ -30,7 +30,6 @@ export class OptionsComponent implements OnInit { dontShowCards = false; dontShowIdentities = false; showDisableContextMenu = true; - disableGa = false; theme: string; themeOptions: any[]; defaultUriMatch = UriMatchType.Domain; @@ -61,10 +60,6 @@ export class OptionsComponent implements OnInit { this.enableAutoFillOnPageLoad = await this.storageService.get( ConstantsService.enableAutoFillOnPageLoadKey); - const disableGa = await this.storageService.get(ConstantsService.disableGaKey); - const disableGaByDefault = this.platformUtilsService.isFirefox(); - this.disableGa = disableGa || (disableGa == null && disableGaByDefault); - this.disableAddLoginNotification = await this.storageService.get( ConstantsService.disableAddLoginNotificationKey); @@ -87,16 +82,6 @@ export class OptionsComponent implements OnInit { this.defaultUriMatch = defaultUriMatch == null ? UriMatchType.Domain : defaultUriMatch; } - async saveGa() { - if (this.disableGa) { - this.callAnalytics('Analytics', !this.disableGa); - } - await this.storageService.save(ConstantsService.disableGaKey, this.disableGa); - if (!this.disableGa) { - this.callAnalytics('Analytics', !this.disableGa); - } - } - async updateAddLoginNotification() { await this.storageService.save(ConstantsService.disableAddLoginNotificationKey, this.disableAddLoginNotification);