diff options
Diffstat (limited to 'base/content/newtab')
-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) { |