Skip to content

Add chrome policy use case for blocking DevTools - #466

Merged
dprevoznik merged 2 commits into
mainfrom
hypeship/policy-block-devtools
Jul 29, 2026
Merged

Add chrome policy use case for blocking DevTools#466
dprevoznik merged 2 commits into
mainfrom
hypeship/policy-block-devtools

Conversation

@dprevoznik

@dprevoznik dprevoznik commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds a Block DevTools and page source use case to the custom Chrome policies page, showing how to block devtools://*, chrome://inspect, and view-source:* with URLBlocklist.

Verification

Confirmed the policy behaves as documented on a live browser session: all three URLs fail with net::ERR_BLOCKED_BY_ADMINISTRATOR, F12 in live view shows "Your organization has blocked the use of DevTools on this page", and Playwright over CDP still drives the session.

Docs-only change, no tests to run.

@vercel

vercel Bot commented Jul 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Error Error Jul 29, 2026 12:47am

@mintlify

mintlify Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
Kernel 🟢 Ready View Preview Jul 29, 2026, 12:45 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@dprevoznik
dprevoznik marked this pull request as ready for review July 29, 2026 00:45
cursor[bot]
cursor Bot approved these changes Jul 29, 2026

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Risk assessment: Very Low

Verdict: Risk unchanged after update. Prior approval stands; not re-approving.

Evidence (from diff only)

  • 1 file changed: browsers/pools/policy-json.mdx (+30 / −0 vs base)
  • Change type: Documentation-only — adds a “Block DevTools and page source” use-case section with Python and TypeScript examples using existing chrome_policy / URLBlocklist
  • Post-approval delta (7083036ed7884d): removes 4 lines of explanatory prose only; no new files, code, APIs, auth, infra, or schema
  • No application/runtime behavior changes in this repo
  • Small surface; blast radius limited to published docs copy/examples

Re-approval check

This automation previously approved at 7083036 as Very Low. The synchronize update does not increase risk, so approval is retained and not dismissed.

Decision

Very Low → comment only (already approved). No CODEOWNERS requirement detected.

Open in Web View Automation 

Sent by Cursor Automation: Assign PR reviewers

@dprevoznik
dprevoznik merged commit 3a716bc into main Jul 29, 2026
6 of 7 checks passed
@dprevoznik
dprevoznik deleted the hypeship/policy-block-devtools branch July 29, 2026 00:51
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.

1 participant