[Pkg-mozext-maintainers] Bug#971693: webext-ublock-origin-firefox not compatible with non-empty user.js file

Markus Koschany apo at debian.org
Mon Oct 5 20:02:09 BST 2020


Hello,

On Mon, 05 Oct 2020 09:58:26 +0200 pdormeau at free.fr wrote:
> Package: webext-ublock-origin-firefox
> Version: 1.30.0+dfsg-1
> Severity: normal
> 
> Dear Maintainer,
> 
> The bug is similar to #969123: ublock-origin is not started unless disabling
> and re-enabling the addon or creating a new profile. But the latter fails as
> soon as a user.js is filled with some preference properties (I tested all kind
> of properties, it fails as soon as user.js is non empty).

I have searched for a solution for this kind of problem but the more I
dig into it the more I come to the conclusion that this kind of behavior
is intentional. If you normally install addons via Firefox' addon
feature, Firefox will tell you to restart the browser when you make an
upgrade. It is comparable to Debian upgrades, some of them may require a
restart and it can't be avoided.

Regarding the user.js file: I have just created one in my profile
directory with a single line to change a setting, but I couldn't
reproduce this problem on Firefox 78.3 with uBo 1.30.0 in stable. My
workaround would be: save all your uBo settings (if you have made any
changes, better safe than sorry), shut down Firefox, then remove
user.js. Then restart Firefox and try to enable/disable the addon again.
Afterwards you can readd your custom user.js file.

If you send me your user.js file I can try to reproduce the problem in
unstable tomorrow.

There is also an addon debug mode for Firefox. This one allows you to
skip restarts and you can make modifications to Firefox and your addon
which get instantly applied.

Regards,

Markus

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-mozext-maintainers/attachments/20201005/62b8091e/attachment.sig>


More information about the Pkg-mozext-maintainers mailing list