summaryrefslogtreecommitdiff
path: root/disable-pocket.patch
diff options
context:
space:
mode:
Diffstat (limited to 'disable-pocket.patch')
-rw-r--r--disable-pocket.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/disable-pocket.patch b/disable-pocket.patch
new file mode 100644
index 0000000..9f5a890
--- /dev/null
+++ b/disable-pocket.patch
@@ -0,0 +1,38 @@
+diff --git a/browser/components/BrowserGlue.jsm b/browser/components/BrowserGlue.jsm
+index 81de0fb201..163b4843e4 100644
+--- a/browser/components/BrowserGlue.jsm
++++ b/browser/components/BrowserGlue.jsm
+@@ -1375,8 +1375,6 @@ BrowserGlue.prototype = {
+ Normandy.init();
+ }
+
+- SaveToPocket.init();
+-
+ AboutHomeStartupCache.init();
+
+ Services.obs.notifyObservers(null, "browser-ui-startup-complete");
+diff --git a/browser/components/moz.build b/browser/components/moz.build
+index d16b27b1ea..a119166fa5 100644
+--- a/browser/components/moz.build
++++ b/browser/components/moz.build
+@@ -42,7 +42,6 @@ DIRS += [
+ "originattributes",
+ "ion",
+ "places",
+- "pocket",
+ "preferences",
+ "privatebrowsing",
+ "prompts",
+diff --git a/browser/base/content/browser.js b/browser/base/content/browser.js
+index 16168e5..857a968 100644
+--- a/browser/base/content/browser.js
++++ b/browser/base/content/browser.js
+@@ -5246,8 +5246,6 @@ var XULBrowserWindow = {
+
+ SafeBrowsingNotificationBox.onLocationChange(aLocationURI);
+
+- SaveToPocket.onLocationChange(window);
+-
+ UrlbarProviderSearchTips.onLocationChange(
+ window,
+ aLocationURI,
bgstack15