From 3a17b713ef27abb8c9d7c116815d3af7e0f366d9 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Fri, 6 Apr 2018 14:07:27 +0200 Subject: Remove about:home snippets. --- browser/base/content/tab-content.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'browser/base/content/tab-content.js') diff --git a/browser/base/content/tab-content.js b/browser/base/content/tab-content.js index 05f8e00ab..7e803796a 100644 --- a/browser/base/content/tab-content.js +++ b/browser/base/content/tab-content.js @@ -147,13 +147,10 @@ var AboutHomeListener = { if (aData.showRestoreLastSession && !PrivateBrowsingUtils.isContentWindowPrivate(content)) doc.getElementById("launcher").setAttribute("session", "true"); - // Inject search engine and snippets URL. + // Inject search engine URL. let docElt = doc.documentElement; - // Set snippetsVersion last, which triggers to show the snippets when it's set. - docElt.setAttribute("snippetsURL", aData.snippetsURL); if (aData.showKnowYourRights) docElt.setAttribute("showKnowYourRights", "true"); - docElt.setAttribute("snippetsVersion", aData.snippetsVersion); }, onPageLoad: function() { -- cgit v1.2.3