Using Firefox and you've lost all FoxyProxy settings?
These following options are available if FoxyProxy updated from 7.* to 8.2 and you have encountered an update bug:
From this comment:
- Go to the FoxyProxy Options page
- Open the Dev Tools (F12)
- Go to the Console tab
- Type the following and hit ENTER
browser.storage.sync.get().then(console.log)
If above has some data, then in the Console tab, type the following and hit ENTER
browser.storage.sync.get().then(pref => {
const data = JSON.stringify(pref, null, 2);
const blob = new Blob([data], {type: 'application/json'});
browser.downloads.download({
url: URL.createObjectURL(blob),
filename: 'FoxyProxy_sync.json',
saveAs: true,
conflictAction: 'uniquify'
})
.catch(() => {});
});
browser.storage.local.get().then(console.log)
If above has some data, then in the Console tab, type the following and hit ENTER
browser.storage.local.get().then(pref => {
const data = JSON.stringify(pref, null, 2);
const blob = new Blob([data], {type: 'application/json'});
browser.downloads.download({
url: URL.createObjectURL(blob),
filename: 'FoxyProxy_local.json',
saveAs: true,
conflictAction: 'uniquify'
})
.catch(() => {});
});
- Go to Import Tab -> Import from older versions
- Import the
FoxyProxy_sync.json
orFoxyProxy_local.json
file that you have saved - Click SAVE to save the data
Downgrade may retrieve old settings.
- Download 7.5.1 (or older) from https://addons.mozilla.org/firefox/addon/foxyproxy-standard/versions/
- Click the file; firefox will ask you to install that addon. Confirm
- Go to Firefox settings, addons (about:addons), FoxyProxy, check that it shows version 7.*
- Important: On that same page, set "Allow automatic updates" to off
The settings bug is expected to be fixed in v8.3+.
Check About for more information.
It should be available in a few days, but we have no guarantee.
After some years of stability, FoxyProxy has been updated to support Manifest Version 3 which is required by Chrome in order for extensions to be compatible with Chrome in 2024. We took advantage of this forced update to implement many feature requests and other changes that were requested over the years.
FoxyProxy has been owned and developed consistently by the same team since 2006.
The repository has the source code for version 8.0+ for Firefox, Chrome, and other Chromium-based browsers like Chromium, Brave and Edge. Source code for older versions.
These justifications were provied to Google and Mozilla
- downloads: Required to export the extension settings to a file. Users can import that file to other Chrome/Firefox instances, or share it with colleagues, in order to keep the same settings. It can also be backed up and used later.
- proxy: The core function of the extension is to allow users to set the proxy server used by the browser.
- storage: Required to store proxy server settings (hostname, port, username, and which proxy server is enabled by the user).
- tabs: Required so that users can set separate proxies to use per tab. It is also needed for "QuickAdd" to quickly add a URL pattern that applies to the current/active tab. It is also used to open a URL to getfoxyproxy.org where there is online help.
- webRequest: Required to authenticate with proxy servers via webRequest.onAuthRequired
- webRequestAuthProvider: Required to authenticate with proxies servers via webRequest.onAuthRequired
- browsingData: Required so the extension can delete cookies, indexedDB, and localStorage when requested by the user on the Options page (Delete Browsing Data button)
- privacy: Required so the extension can call browser.privacy.network.webRTCIPHandlingPolicy to turn on/off webRTC in Chrome (Limit WebRTC checkbox in Options page)
- host permission: "<all_urls>" permissions is required in order to supply credentials for Proxy authorization
No remote code is used in this extension.
Why is there a crypto library in lib?
The crypto library was already incldued in FoxyProxy 3.x to encrypt user credentails. It is needed to migrate encrypted settings from the old version (which had no updates for many years, as you mentioned) to 2023. It is not used to encrypt anything; only to decrypt old data when upgrading from version 3.x -> 8.x.
Chrome | Firefox | |
---|---|---|
Standard |
|
|
Basic |
|
|
Source Code Beta | ||
Source Code Release | 8.1 | |
Source Code Old | 3.0.7.1 | 7.5.1 |
Chrome | Firefox | Firefox for Android |
---|---|---|
version 108 (released 2022-11-29) |
version 93 (released 2021-10-05) |
version 113 (manifest) (API minimum 102) |
-
Backup your FoxyProxy settings
-
Download repo (or use
git
)- browser-extension (this page) -> Code (green button) -> Download ZIP
- Unzip the downloaded file
-
Chrome
- Rename
manifest-chrome.json
insrc
folder tomanifest.json
- Go to
chrome://extensions/
- Enable Developer Mode (top right)
- Click "Load Unpacked"
- Select above
manifest.json
(orsrc
folder)
- Rename
-
Firefox (Nightly/Beta/Developer Edition)
- Rename
manifest-firefox.json
insrc
folder tomanifest.json
- Go to
about:debugging#/runtime/this-firefox
- Click "Load Temporary Add-on..."
- Select above
manifest.json
- Rename
-
Firefox for Android
You can try installing FoxyProxy Basic v8.*
With grunt:
- Install grunt locally:
npm i -D grunt-cli
- Run one of:
grunt --target=chrome-standard
grunt --target=chrome-basic
grunt --target=firefox-standard
grunt --target=firefox-basic
The target is built in foxyproxy-XXX-YYY.zip
; e.g. foxyproxy-chrome-standard.zip
.
- copy the appropriate manifest-xxx.json file to manifest.json; e.g.
mv manifest-chrome.json manifest.json
- zip the
src
directory into the top of an archive. Thesrc/
directory should not be in the zip archive.