diff options
author | Gaming4JC <g4jc@hyperbola.info> | 2022-05-08 16:42:41 -0400 |
---|---|---|
committer | Gaming4JC <g4jc@hyperbola.info> | 2022-05-08 16:42:41 -0400 |
commit | 34964f0ea6b83234e47396441ca3b8334dbf0daa (patch) | |
tree | 570f0d78d7c2c8b38343a21cfb2e9e3d351f34e5 /base/content/newtab/sites.js | |
parent | 0e6fd39de109fa1020848fecddb5821501661ca7 (diff) | |
download | iceweasel-uxp-34964f0ea6b83234e47396441ca3b8334dbf0daa.tar.gz |
Remove telemetry more telemetry references
Diffstat (limited to 'base/content/newtab/sites.js')
-rw-r--r-- | base/content/newtab/sites.js | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/base/content/newtab/sites.js b/base/content/newtab/sites.js index 1ede993..a3d0160 100644 --- a/base/content/newtab/sites.js +++ b/base/content/newtab/sites.js @@ -281,21 +281,6 @@ Site.prototype = { }, /** - * Record interaction with site using telemetry. - */ - _recordSiteClicked: function Site_recordSiteClicked(aIndex) { - if (Services.prefs.prefHasUserValue("browser.newtabpage.rows") || - Services.prefs.prefHasUserValue("browser.newtabpage.columns") || - aIndex > 8) { - // We only want to get indices for the default configuration, everything - // else goes in the same bucket. - aIndex = 9; - } - Services.telemetry.getHistogramById("NEWTAB_PAGE_SITE_CLICKED") - .add(aIndex); - }, - - /** * Handles site click events. */ onClick: function Site_onClick(aEvent) { @@ -306,10 +291,6 @@ Site.prototype = { // Handle tile/thumbnail link click if (target.classList.contains("newtab-link") || target.parentElement.classList.contains("newtab-link")) { - // Record for primary and middle clicks - if (button == 0 || button == 1) { - this._recordSiteClicked(tileIndex); - } } // Only handle primary clicks for the remaining targets else if (button == 0) { |