SwitchyOmega icon indicating copy to clipboard operation
SwitchyOmega copied to clipboard

SwitchyOmega does not work in the Firefox

Open darrenli6 opened this issue 1 year ago • 23 comments

SwitchyOmega 2.5.10 Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:126.0) Gecko/20100101 Firefox/126.0

can not open google.com

darrenli6 avatar Jun 06 '24 06:06 darrenli6

I had the same problem. And then I realized that the switchy omega extension provided by Firefox Add-Ons (v2.5.10) has lower version than the latest release (v2.5.20). Uninstalling the extension and re-installing it from GitHub Release solves my problem.

SadPencil avatar Jun 11 '24 06:06 SadPencil

I had the same problem. And then I realized that the switchy omega extension provided by Firefox Add-Ons (v2.5.10) has lower version than the latest release (v2.5.20). Uninstalling the extension and re-installing it from GitHub Release solves my problem.

Same issue @SadPencil resolution worked for me too Firefox on Ubuntu

Mik39907 avatar Jun 12 '24 11:06 Mik39907

The extension from github will work on Firefox, the problem is that the extension is not updated in the store

jestxfot avatar Jun 16 '24 14:06 jestxfot

yes it doesn't install the even with the git version the only way is use ZeroOmega--Proxy Switchy manifest v3 version which is fork of this extensions in firefox store

erfan-star-1999 avatar Jun 18 '24 22:06 erfan-star-1999

Firefox supports both V2 and V3 it worked downloading through the git latest release

Mik39907 avatar Jun 18 '24 22:06 Mik39907

Firefox supports both V2 and V3 it worked downloading through the git latest release

i tried and it's show it's broken if i download xpi directly from git in firefox. firefox automatic try to install it and it's failed. even i tried to install it locally again broken i use latest version of firefox on Arch btw

erfan-star-1999 avatar Jun 19 '24 13:06 erfan-star-1999

mmmm weird on Ubuntu worked flawless it's arch specific than maybe

Mik39907 avatar Jun 19 '24 14:06 Mik39907

i think it's happened when you fresh install firefox. because last time it's works even i updating firefox nothing happened to that extension. so my system get problem and i should reinstall arch i get every thing backup but i forgot to get firefox backup (since firefox config folder is outside .config in home ) so after install firefox the extension doesn't install

erfan-star-1999 avatar Jun 19 '24 20:06 erfan-star-1999

I copy the xpi file to the extensions folder, e.g. ~/.mozilla/firefox/randomid.default/extensions on Linux or ~/Library/Application Support/Firefox/Profiles/randomid.default/extensions on macOS , then re-open Firefox and it works. Maybe need to rename the xpi file to [email protected].

niu541412 avatar Jun 22 '24 09:06 niu541412

xpi file from github cannot be installed.

firefox windows 127.0.1 (64-bit) proxy_switchyomega-2.5.20-an+fx.xpi

drag the xpi file to firefox window, it display a popup with "this add-on could not be installed because it appears to be corrupt.", but the file can be load in "debug add-ons"->"load Temporary Add-ons..".

chptx avatar Jun 22 '24 16:06 chptx

Same here . Windows Firefox latest. Cant install from add-on's page, xpi file.

SantaLaMuerte avatar Jun 25 '24 09:06 SantaLaMuerte

The same here. A fresh installation of Firefox 127.0.2 64-bit on Windows 10 complains the extension appears to be corrupt against both the Mozilla Add-on website, as well as the git XPI file.

lbmeng avatar Jun 27 '24 02:06 lbmeng

xpi file from github cannot be installed.

firefox windows 127.0.1 (64-bit) proxy_switchyomega-2.5.20-an+fx.xpi

drag the xpi file to firefox window, it display a popup with "this add-on could not be installed because it appears to be corrupt.", but the file can be load in "debug add-ons"->"load Temporary Add-ons..".

Thanks, it's works. Firefox show next message: Reading manifest: Warning processing key: An unexpected property was found in the WebExtension manifest. I guess it's reason why the extention isn't installed from Mozilla Add-on website.

arhiv6 avatar Jun 27 '24 02:06 arhiv6

xpi file from github cannot be installed.

firefox windows 127.0.1 (64-bit) proxy_switchyomega-2.5.20-an+fx.xpi

drag the xpi file to firefox window, it display a popup with "this add-on could not be installed because it appears to be corrupt.", but the file can be load in "debug add-ons"->"load Temporary Add-ons..".

The extension disappears next time when Firefox is restarted :(

lbmeng avatar Jun 28 '24 13:06 lbmeng

xpi file from github cannot be installed. firefox windows 127.0.1 (64-bit) proxy_switchyomega-2.5.20-an+fx.xpi drag the xpi file to firefox window, it display a popup with "this add-on could not be installed because it appears to be corrupt.", but the file can be load in "debug add-ons"->"load Temporary Add-ons..".

The extension disappears next time when Firefox is restarted :(

You probably try my method. It's better. https://github.com/FelisCatus/SwitchyOmega/issues/2501#issuecomment-2183964524

niu541412 avatar Jun 28 '24 16:06 niu541412

You probably try my method. It's better. #2501 (comment)

Thank you. Your method works like a charm!

lbmeng avatar Jun 29 '24 00:06 lbmeng

xpi file from github cannot be installed. firefox windows 127.0.1 (64-bit) proxy_switchyomega-2.5.20-an+fx.xpi drag the xpi file to firefox window, it display a popup with "this add-on could not be installed because it appears to be corrupt.", but the file can be load in "debug add-ons"->"load Temporary Add-ons..".

The extension disappears next time when Firefox is restarted :(

You probably try my method. It's better. #2501 (comment)

Thanks. Your method works. On Windows it's located at %appdata%\Mozilla\Firefox\Profiles\<whatever>\extensions

SadPencil avatar Jul 21 '24 12:07 SadPencil

same problem now

m-2k avatar Aug 11 '24 10:08 m-2k

for me it doesn't work at all, running on mercury (firefox 115.11.0esr), it always connects via my proxy (configured systemwide)

image

even if i set every rule to "direct" the browser connects to the net via my proxy. the browser states correctly that omega is handling the proxy config.

image

somehow the system proxy settings are still in place image

c33s avatar Sep 03 '24 13:09 c33s

Use https://github.com/zero-peak/ZeroOmega

jestxfot avatar Sep 25 '24 11:09 jestxfot

I had the extension installed since before it stopped installing from FF page, but had issues with some sites. Disabling network.http.http3.enable in about:config seems to have solved the issue.

[edit] No, it hadn't. But it's a FireFox issue, happens even on clean profile.

GrayFace avatar Dec 10 '24 20:12 GrayFace

I copy the xpi file to the extensions folder, e.g. ~/.mozilla/firefox/randomid.default/extensions on Linux or ~/Library/Application Support/Firefox/Profiles/randomid.default/extensions on macOS , then re-open Firefox and it works. Maybe need to rename the xpi file to [email protected].

It worked as you said and I had to change the file name to what you said. The directory where extensions are, may differ with what you provided. thanks alot.

Bagheriovsky avatar Dec 31 '24 14:12 Bagheriovsky

What you are facing is a human error on the part of whoever hosted the file in the official repository and also uploaded the .xpi file to the Firefox extension store. The manifest file (manifest.json) contains 2 wrong keys that are only compatible with extension models for Chrome. The respective keys are:

  1. key:"random_value"

  2. minimum_chrome_version: "value_of_minimum_chrome_version".

What you must do to correct the error manually is simply delete these 2 keys and their respective values ​​(paying attention to the commas [for noobs]).
Once this is done, save the change in the manifest.json file and install the extension again from your local file in the extensions folder of your Firefox user profile.

If Firefox does not allow the extension to be installed permanently (due to manual changes), do the following:

  1. open a new tab and go to the "about:config" address.

  2. type "xpinstall.signatures.required" and set the boolean value to false.

  3. type " xpinstall.whitelist.required" and set the boolean value to false.

Ready. Your Firefox installation now supports permanent installations of local extensions.

ObediFerreira avatar Jan 12 '25 05:01 ObediFerreira