Go to file
erosman ca4f82ba78
v8.9
2024-01-13 23:48:13 +03:30
screenshots screenshot maintenance 2023-11-28 08:59:14 -07:00
src v8.9 2024-01-13 23:48:13 +03:30
Gruntfile.js remove unneeded deletes from grunt built 2023-11-28 18:01:38 -07:00
LICENSE Initial commit 2022-08-26 09:50:15 -06:00
PRIVACY.md Create PRIVACY.md 2023-12-26 23:53:15 +03:30
README.md Update README.md 2024-01-10 10:14:26 +03:30
package-lock.json fix duplicate keys in fr and zh_CN locales; update README with minor changes; create gruntfile and node/npm/grunt project for easy zipping on any platform and ignoring unneeded files and directories 2023-09-24 16:22:08 -06:00
package.json remove unneeded deletes from grunt built 2023-11-28 18:01:38 -07:00

README.md

FAQ

💻 Settings disappeared after the upgrade to v8

Using Firefox and you've lost all FoxyProxy settings?

FoxyProxy Basic 8.0 was first released in Sep 2023 as a trial run since it had fewer users (26k on Chrome & Firefox). We waited for 2 months for any feedback & bug reports before releasing FoxyProxy Standard. Unfortunately, we didn't get any bug report about the data migration sync issue, otherwsie we would have fixed it before releasing the standard version. FoxyProxy 8.2 went online on Dec 6th. Due to a bug in version 8.2, previous settings of some users were not migrated after the upgrade. Versions 8.3-8.6 created with fixes for the bugs immediately, but due to the AMO approval waiting time, version 8.6 came online on Dec 12th.

Previous settings were not deleted and are recoverable. The following options are available if FoxyProxy updated from 7.* and you have encountered the update bug.

Retrieve Settings and Keep version 8.2

From this comment:

Look for old data

  1. Go to the FoxyProxy Options page
  2. Open the Dev Tools (F12)
  3. Go to the Console tab
  4. Type the following and hit ENTER

With Sync

  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(() => {});
});

Without Sync

  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(() => {});
});

Import data

  1. Go to Import Tab -> Import from older versions
  2. Import the FoxyProxy_sync.json or FoxyProxy_local.json file that you have saved
  3. Click SAVE to save the data
Downgrade to 7.*

Downgrade may retrieve old settings.

  1. Download 7.5.1 (or older) from https://addons.mozilla.org/firefox/addon/foxyproxy-standard/versions/
  2. Click the file; firefox will ask you to install that addon. Confirm
  3. Go to Firefox settings, addons (about:addons), FoxyProxy, check that it shows version 7.*
  4. Important: On that same page, set "Allow automatic updates" to off

The settings bug is expected to be fixed in the latest release. Check About for more information.

📱 Firefox for Android

Firefox for Android ignored disabling extensions.update.enabled (due to a bug). Therefore, installation of an older version from AMO will get updated. The bug is fixed in Firefox 123.

Downgrade ot Beta Installation
  • Download 7.5.1 (or older) from https://addons.mozilla.org/firefox/addon/foxyproxy-standard/versions/
  • Make the file available to the Android device through Android File Transfer, adb, Android Studio, or a similar tool
  • Install Firefox Nightly for Developers on Android
  • Enable Debug Menu
    • Go to: menu -> Settings -> About Firefox Nightly
    • Tap a few times on the Firefox icon to enable debug menu
  • Navigate to: about:config
    • Find xpinstall.signatures.required
    • Toggle to false
    • Find (or add) extensions.update.enabled
    • Toggle to false
  • Install add-on from file
    • Go to: menu -> Settings -> Advanced -> Install add-on from file and select the .zip file you transferred to the android device
    • Check "Allow in private browsing" then "Okay, Got it"

See also:


FoxyProxy FoxyProxy Browser Extension

license GitHub repo size ECMAScript

About | Help | Issues

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.

Permissions

These justifications were provided 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 included in FoxyProxy 3.x to encrypt user credentials. 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.

The library is not used in Firefox and will be removed once users migrate to v8+.

Screenshots

Dark Theme

Light Theme

Releases

Chrome Firefox
Standard

Basic

Source Code Beta
Source Code Release Releases
Source Code Old 3.0.7.1 7.5.1

Browser Minimum

Chrome Firefox Firefox for Android
version 108
(released 2022-11-29)
version 93
(released 2021-10-05)
version 113 (manifest)
(API minimum 102)

Beta Installation Guide

  • 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 in src folder to manifest.json
    • Go to chrome://extensions/
    • Enable Developer Mode (top right)
    • Click "Load Unpacked"
    • Select above manifest.json (or src folder)
  • Firefox (Nightly/Beta/Developer Edition)

    • Rename manifest-firefox.json in src folder to manifest.json
    • Go to about:debugging#/runtime/this-firefox
    • Click "Load Temporary Add-on..."
    • Select above manifest.json
  • Firefox for Android

    • Install Firefox Nightly
    • Enable Debug Menu
      • Go to: menu -> Settings -> About Firefox Nightly
      • Tap a few times on the Firefox icon to enable debug menu
      • Go to: about:config
      • Find xpinstall.signatures.required
      • Toggle to false
    • Install Beta version
      • Prepare src for Firefox as mentioned above
      • Create a zip file from the content of src
      • Make the file available to the Android device
    • Install add-on from file
      • Go to: menu -> Settings -> Advanced -> Install add-on from file

Building for Distribution

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.

Without grunt:

  • 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. The src/ directory should not be in the zip archive.