Closed Bug 1931548 Opened 3 months ago Closed 2 months ago

Implement userScripts permission prompt (desktop)

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, Regressed 1 open bug)

Details

(Whiteboard: [addons-jira])

Attachments

(3 files)

The "userScripts" permission requires double confirmation as described at https://bugzilla.mozilla.org/show_bug.cgi?id=1917000#c1

Bug 1917000 will add the permission string, and bug 1931545 will add the extra notice. In this bug we should implement the permission prompt with checkbox as specified in bug 1917000 and visualized at the right of https://bugzilla.mozilla.org/show_bug.cgi?id=1917000#c2.

See Also: → 1931556
Severity: -- → N/A
Priority: -- → P2
Assignee: nobody → rob
Status: NEW → ASSIGNED
See Also: → 1938623
Blocks: 1938831
Pushed by rob@robwu.nl: https://hg.mozilla.org/integration/autoland/rev/b783d3def394 Add double-confirmation for userScripts prompt r=rpl
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 135 Branch
See Also: → 1938906

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

An add-on requesting the userScripts optional permission will show a prompt requiring a double confirmation and a warning message stating “Unverified scripts can pose security and privacy risks. Only run scripts from extensions or sources you trust.”.
The double confirmation consists of a checkbox stating “Allow unverified third-party scripts to access your data” which when not checked will disable the “Allow” button on the prompt and when checked will enable the “Allow” button on the prompt.

For more details, see the attached screenshots.

Status: RESOLVED → VERIFIED
Regressions: 1940773
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: