Skip to content

Conversation

@rgarcia
Copy link
Contributor

@rgarcia rgarcia commented Dec 14, 2025

Summary

  • Add DefaultNotificationsSetting: 2 Chrome policy to automatically deny all notification permission requests
  • Prevents "site wants to show notifications" dialogs from appearing in the automated browser environment

Test plan

  • Deploy updated chromium-headful image
  • Navigate to a site that requests notification permissions (e.g., yahoo.com)
  • Verify no notification permission dialog appears

Note

Sets Chrome policy DefaultNotificationsSetting: 2 to automatically deny all notification permission prompts.

  • Policies:
    • Update shared/chromium-policies/managed/policy.json:
      • Add DefaultNotificationsSetting: 2 to auto-deny site notification permission requests.

Written by Cursor Bugbot for commit 94a7d12. This will update automatically on new commits. Configure here.

Add DefaultNotificationsSetting: 2 to automatically deny all notification
permission requests, preventing "site wants to show notifications" dialogs
from appearing in the automated browser environment.
@rgarcia rgarcia merged commit fd4952c into main Dec 14, 2025
5 checks passed
@rgarcia rgarcia deleted the auto-block-requests-to-show-notifications branch December 14, 2025 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants