Xwilarg / NHentaiDownloader

A browser extension to download doujinshi from NHentai
https://nhentaidownloader.zirk.eu/
MIT License
231 stars 21 forks source link

firfox disabled and wont allow instalation of addon #77

Open NepuPadoru opened 1 month ago

NepuPadoru commented 1 month ago

Describe the bug when i went to use the extension fire fox say it has been disabled. I uninstalled the add-on and tried to reinstall through the xpi link which prompts a message from fire fox saying it has blocked installation due to the add-on being unverified.

Browser Version: I am using Firefox vision 131.0

To Reproduce Steps to reproduce the behavior:

i did not take a screen shot before uninstalling this is an example Mozilla provides on the help page for forced disable add-ons. 2021-05-24-12-53-23-63babf

Screenshot_20241009_030128

Expected behavior when i click on NHentaiDownloader.xpi I expect it to install atomically to Firefox.

I expect for NHentaiDownloader to not be forced disabled by Firefox.

Additional context I'm not entirely sure what may be cause this or when it started. The only thing i can think of causing this if the new update that happed on the 10-01-2024 for Firefox version 131. I did notice their a section on Mozilla help page that their is a way to use forced disabled add-ons but it warns of security ricks.

Sneaseses commented 1 month ago

So I'm not the only one having this problem. Ugh, this honestly sucks.

Xwilarg commented 1 month ago

This is not really a great solution but a temporary way to solve this would be to follow these steps: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Your_first_WebExtension#installing

Other than that I'm not sure if there is not much way, since I can't release the extension on the Modzilla store (since NSFW things are against their TOS)

Sneaseses commented 1 month ago

So an update I just shifted to the developer version of Firefox And the issue now is the fact that "it has a high risk of stability and security problems" as the reason why it doesn't wanna install. image

Sadly, doing the temporary method doesn't work either even on developer version. image

BaHaku commented 1 month ago

Setting both xpinstall.signatures.required and extensions.blocklist.enabled to false works. You still need Firefox Developer Edition; it should also work on the ESR although I didn't test this.

Sneaseses commented 1 month ago

@BaHaku Derp, the latter was what I actually needed to do. I already set the former to false. Now it actually works on Developer Edition. Thanks.

Sneaseses commented 1 month ago

So update.

I tried setting both xpinstall.signatures.required and extensions.blocklist.enabled to false on the base version of Firefox. Doesn't work, sadly.

Nythius commented 1 month ago

Setting both xpinstall.signatures.required and extensions.blocklist.enabled to false on ESR works.

Moebits commented 3 weeks ago

On firefox stable you have to go to about:debugging#/runtime/this-firefox and click "load temporary add-on" and load the zip file, this loads unverified addons but only for the current session (will be gone when you restart it)

Permanent loading of this extension on stable is probably killed forever, he can't publish this on the add-ons store because of nsfw

Edit: Also make sure you set the xpinstall.signatures.required and extensions.blocklist.enabled flags to false.