1
0
Fork 1
snowleopard/patches/0002-disable-pocket.patch
2024-03-23 17:05:52 +01: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 0f91b90fb0ce4..212d21b67b866 100644
--- a/browser/components/moz.build
+++ b/browser/components/moz.build
@@ -48,7 +48,6 @@ DIRS += [
"originattributes",
"pagedata",
"places",
- "pocket",
"preferences",
"privatebrowsing",
"profiles",