Bug 1894688 - Violentmonkey does not work on Firefox 82
Summary: Violentmonkey does not work on Firefox 82
Keywords:
Status: CLOSED DUPLICATE of bug 1893474
Alias: None
Product: Fedora
Classification: Fedora
Component: firefox
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Gecko Maintainer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-11-04 19:13 UTC by ffbeacc
Modified: 2020-11-05 21:16 UTC (History)
11 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-11-05 21:16:03 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description ffbeacc 2020-11-04 19:13:02 UTC
Description of problem: 
Violentmonkey is a userscript manager add-on. After updating Firefox (RPM version) to 82.0.2, all my userscripts from Violentmonkey were deleted. I tried to import them from a .zip backup and got this error on console: "Error: Could not establish connection. Receiving end does not exist.". I also tried to install a new userscript, it didn't work.

This does not happen on Windows or on previous versions of Firefox (RPM).

Version-Release number of selected component (if applicable):
Firefox 82.0.2 on Fedora 32 (it seems Fedora 33 is also afected)

How reproducible:
Always

Steps to Reproduce:
I suppose you could try any of these scenarios:
- Scenario A: On Firefox 82.0.2, install a new userscript. Example: https://greasyfork.org/en/scripts/393967-resize-image-on-open-image-in-new-tab
- Scenario B: On Firefox 82.0.1, add some scripts to Violentmonkey and then update to 82.0.2.
- Scenario C: On Firefox 82.0.2, try to import a Violentmonkey usercript backup.

Actual results:
- Scenario A: After clicking the "Install script", button, an empty page is displayed.
- Scenario B: All userscripts are deleted.
- Scenario C: Userscript backup import fails with "Error: Could not establish connection. Receiving end does not exist."

Expected results:
- Scenario A: After clicking the "Install script", button, a moz-extension:// Violentmonkey page is displayed to install the script.
- Scenario B: All userscripts are preserved.
- Scenario C: Userscript backup is imported.

Additional info:
More people affected:
- https://old.reddit.com/r/firefox/comments/jmf3kn/after_the_latest_update_fedora_33_firefox_now/
- https://old.reddit.com/r/firefox/comments/jlqud1/userscripts_wiped_after_upgrading_to_ff82/

Given the nature of the bug, I think it might related to how Firefox handles add-on data storage. I'm not sure if it's specific to Fedora or Linux in general.

Sorry if I did not report this bug correctly.

Comment 1 Martin Stransky 2020-11-05 20:17:32 UTC
Please try latest builds - firefox-82.0.2-4.fc34

Comment 2 ffbeacc 2020-11-05 21:16:03 UTC
It works now. All my userscripts were restored too, I didn't lost any data. Thank you very much.

*** This bug has been marked as a duplicate of bug 1893474 ***


Note You need to log in before you can comment on or make changes to this bug.