Removing pocket
Note: This expects you have foxfork setup.
Disabling in firefox.js
The goal of this guide is to disable pocket and remove its icon from the toolbar. The first changes we will need to make is to the firefox.js file located in engine/browser/app/profile/firefox.js
. Scroll to the lines that include the following settings (around line 1980 in firefox 94):
Delete these lines and replace them with the following:
Next, you will need to remove pocket from the new tab page. You can do this by simply adding the following line to the bottom of firefox.js
:
Now you simply need to export the changes made to firefox.js
:
Removing pocket icon from toolbar
Whilst the steps above will have disabled pocket. The pocket icon will still be visible in the toolbar. Instead you must remove it from the CustomizableUI layout. Open engine/browser/components/customizableui/CustomizableUI.jsm
and find the array that looks like this (around line 240):
Remove the save-to-pocket-button
item from the array and export the changes:
Last updated