snowleopard/patches/0002-disable-pocket.patch
2023-10-26 23:08:06 +02:00

39 lines
1.2 KiB
Diff

diff --git a/browser/base/content/browser.js b/browser/base/content/browser.js
index b3a09ea31391c..ab99059eb36f3 100644
--- a/browser/base/content/browser.js
+++ b/browser/base/content/browser.js
@@ -5273,8 +5273,6 @@ var XULBrowserWindow = {
SafeBrowsingNotificationBox.onLocationChange(aLocationURI);
- SaveToPocket.onLocationChange(window);
-
let originalURI;
if (aRequest instanceof Ci.nsIChannel) {
originalURI = aRequest.originalURI;
diff --git a/browser/components/BrowserGlue.sys.mjs b/browser/components/BrowserGlue.sys.mjs
index 78a7d7e456f4c..5e64ee8310b27 100644
--- a/browser/components/BrowserGlue.sys.mjs
+++ b/browser/components/BrowserGlue.sys.mjs
@@ -1421,8 +1421,6 @@ BrowserGlue.prototype = {
lazy.Normandy.init();
}
- lazy.SaveToPocket.init();
-
lazy.ResetPBMPanel.init();
AboutHomeStartupCache.init();
diff --git a/browser/components/moz.build b/browser/components/moz.build
index 0c59bb842172a..c0d32e13ef06f 100644
--- a/browser/components/moz.build
+++ b/browser/components/moz.build
@@ -44,7 +44,6 @@ DIRS += [
"originattributes",
"pagedata",
"places",
- "pocket",
"preferences",
"privatebrowsing",
"prompts",