Closed Bug 1931545 Opened 10 months ago Closed 9 months ago

Add userScripts permission notice in about:addons

Categories

(Toolkit :: Add-ons Manager, task, P2)

task

Tracking

()

VERIFIED FIXED
135 Branch
Tracking Status
firefox135 --- verified

People

(Reporter: robwu, Assigned: robwu)

References

(Blocks 1 open bug)

Details

(Whiteboard: [addons-jira])

Attachments

(2 files)

Bug 1917000 will introduce an optional-only userScripts permission with the message "Allow unverified third-party scripts to access your data".

We should add an extra warning underneath the permission with the following text:

Unverified scripts can pose security and privacy risks, such as running harmful code or tracking website activity. Only run scripts from extensions or sources you trust.

A mock is shown at the left of the image in https://bugzilla.mozilla.org/show_bug.cgi?id=1917000#c2

The permission message and notice will also be re-used for the permission prompt shown in that mock, but that will be implemented in a separate bug.

Blocks: 1931548
See Also: → 1931554
Severity: -- → N/A
Priority: -- → P2
Assignee: nobody → rob
Status: NEW → ASSIGNED
Pushed by rob@robwu.nl: https://hg.mozilla.org/integration/autoland/rev/d031e0512ae9 Add extra warning next to the "userScripts" permission in about:addons r=rpl,fluent-reviewers,desktop-theme-reviewers,bolsson,hjones
Status: ASSIGNED → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → 135 Branch

Verified as Fixed. Tested on the latest Nightly (135.0a1/20241223212718) under Windows 10, Ubuntu 24.04 LTS and macOS 11.3.1.

In about:addons, the “Permissions” tab in the detailed view of the add-on implementing userScripts now features the “userScripts” optional permission with the “Allow unverified third-party scripts to access your data” message followed underneath by a warning message stating “Unverified scripts can pose security and privacy risks, such as running harmful code or tracking website activity. Only run scripts from extensions or sources you trust.”, confirming the fix.

For more details, see the attached screenshot.

Status: RESOLVED → VERIFIED
Attached image 2024-12-24_11h36_47.png
See Also: → 1946616
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: