-
Notifications
You must be signed in to change notification settings - Fork 677
Description
Sequence of actions:
- Upgrade to Violentmonkey v2.32.0 or v2.34.0
- Navigate to a site with JavaScript disabled (?)
- Badge on VM icon indicates multiple scripts are enabled
Problem:
Clicking the VM icon displays no scripts.
Expected result:
Installed/enabled scripts are displayed in the popup.
Devtools console contents:
Console error: "TypeError: undefined is not a function: PopupShown -> post"
| if (bridge.grantless) bridge.post('GetGrantless'); |
Environment:
- OS: Linux (Arch)
- Browser: Firefox 147.0.3
- Violentmonkey Version: 2.34.0
Still trying to narrow this down. It seems to be always happening on sites where JavaScript is disabled (cf.), but also some sites where it is enabled, such as this site (GitHub). Not sure it's a CSP issue as the popup is populated OK on, e.g., Twitter.
The scripts are all working and the count in the badge is correct, they're just not displayed when the popup is opened:
I've tried doing an export -> empty recycle bin -> import, and the problem persists. If I revert back to 2.31.0 (and re-import), the problem goes away. There's no syntax error in the exported violentmonkey JSON file, or anything obvious like that. I think I'm using the default settings:
