惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

aimingoo的专栏
aimingoo的专栏
Y
Y Combinator Blog
云风的 BLOG
云风的 BLOG
Microsoft Azure Blog
Microsoft Azure Blog
腾讯CDC
T
The Blog of Author Tim Ferriss
P
Proofpoint News Feed
Hugging Face - Blog
Hugging Face - Blog
博客园_首页
小众软件
小众软件
美团技术团队
Martin Fowler
Martin Fowler
爱范儿
爱范儿
有赞技术团队
有赞技术团队
博客园 - 【当耐特】
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Microsoft Security Blog
Microsoft Security Blog
宝玉的分享
宝玉的分享
J
Java Code Geeks
B
Blog
V
V2EX
Stack Overflow Blog
Stack Overflow Blog
B
Blog RSS Feed
博客园 - Franky

Hacker News: Show HN

PurrrrrFocus: Pomodoro Timer App - App Store Workflow Engine — Multi-Step Orchestration for Bun RapidPhoto: Pro Photo Editor App - App Store GitHub - DheerG/swarms: Achieve extraordinary results with claude code across a variety of tasks SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Show HN: VCoding – A 5 MB native Windows IDE with no dynamic dependencies Show HN: LLMs don't hallucinate because they're bad at math, it's the format GitHub - Agent-FM/agentfm-core: AgentFM is a peer-to-peer network that turns everyday computers into a decentralized AI supercomputer. AgentFM lets you run massive AI workloads directly across a global mesh of idle CPUs and GPUs. Show HN: Tracking Top US Science Olympiad Alumni over Last 25 Years GitHub - Potarix/agent-hub: One place to talk to all your agents Show HN: Runtime security for AI agents(injection,tool abuse, data exfiltration) GitHub - dubeyKartikay/lazyspotify: Terminal Spotify client for macOS and Linux GitHub - the-banana-tool/king-louie: Easy to use GUI Personal AI Assistant. Win/Linux/Mac. Show HN I made my vacation rental bookable by AI agents–no Airbnb, 0% commission GitHub - basteez/jsf-autoreload: maven plugin to enable hot reload on jsf projects uvm32/hosts/host-gdbstub at main · ringtailsoftware/uvm32 GitHub - labsai/EDDI: Config-driven engine that turns JSON into production-grade AI agents. Multi-agent orchestration, 12+ LLM providers, MCP/A2A protocols, RAG, persistent memory, and enterprise compliance (EU AI Act, GDPR, HIPAA). Built on Quarkus. GitHub - glitchnsec/fortyone-oss: AI Executive Assistant Platform Quickstart | Alien GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. GitHub - ocrbase-hq/ocrbase: 📄 PDF/IMG ->.MD/JSON Document OCR API for PaddleOCR and GLMOCR. Self-hostable. GitHub - impactjo/home-memory: MCP server that lets your AI assistant remember everything about your home. GitHub - Sets88/dbcls: DbCls is a powerful terminal database client that supports various databases GitHub - neptun2000/heor-agent-mcp GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh RollQuation: Math Puzzles - Apps on Google Play GitHub - dropbox/witchcraft Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis GitHub - opentalon/opentalon: OpenTalon is an open-source platform built from the ground up in Go as a robust alternative to OpenClaw LinkedIn™ 职位抓取工具 - Chrome 应用商店
GitHub - osfv/BraveDebloater: Safety-first Windows PowerS...
osfv · 2026-06-15 · via Hacker News: Show HN

Brave Windows PowerShell CI License

Brave Browser new tab page with Shields stats visible

Brave logo BraveDebloater is a safety-first Windows PowerShell tool for trimming Brave Browser extras while keeping Brave Shields intact.

Windows logo Windows-first  ·  PowerShell logo PowerShell-native  ·  Open Source Initiative logo Open source

It uses official Brave/Chromium enterprise policies where possible, starts in dry-run mode, writes backups before applying changes, and includes an undo path. No updater disabling, no host-file edits, no extension removal, and no Shield allowlisting.

What It Debloats

  • Brave Rewards, Wallet, VPN, Leo AI Chat, News, Talk, Playlist, Speedreader, and Wayback prompts
  • Brave telemetry surfaces such as P3A, stats ping, and Web Discovery
  • Chromium metrics, URL-keyed collection, Privacy Sandbox prompts, remote search suggestions, network prediction, and remote spellcheck
  • Extreme preset extras such as background mode, promotions, Browser Labs, new tab cards, shopping list, QR generator, translate prompts, autofill, and the Google search side panel

Optional profile preference cleanup can also hide some new tab sponsored/background and toolbar surfaces when Brave stores those preferences in per-profile Preferences JSON.

Quick Start

Preview the extreme preset:

.\Invoke-BraveDebloat.ps1 -Preset Extreme

List the policies and optional profile preference patches without running the dry-run/apply flow:

.\Invoke-BraveDebloat.ps1 -Preset Extreme -List -IncludeProfilePreferences

List the available feature toggles:

.\Invoke-BraveDebloat.ps1 -ListFeatures

Run a read-only health check of Brave policies, backups, profile files, and detected feature status:

.\Invoke-BraveDebloat.ps1 -Doctor

Apply it for the current Windows user:

.\Invoke-BraveDebloat.ps1 -Preset Extreme -Apply

Apply it and enforce a safe Shields baseline:

.\Invoke-BraveDebloat.ps1 -Preset Extreme -LockShields -Apply

Customize the preset interactively:

.\Invoke-BraveDebloat.ps1 -Preset Extreme -Customize

Or make a scripted custom run:

.\Invoke-BraveDebloat.ps1 -Preset Extreme -ExcludeFeature News,LeoAI
.\Invoke-BraveDebloat.ps1 -Preset Standard -IncludeFeature Translate
.\Invoke-BraveDebloat.ps1 -OnlyFeature Rewards,Wallet,VPN

PowerShell -WhatIf is supported as a no-write preview even when -Apply is present:

.\Invoke-BraveDebloat.ps1 -Preset Extreme -Apply -WhatIf

After applying, restart Brave and open brave://policy to verify the policies.

Presets

  • Standard: Brave-specific bloat and Brave telemetry.
  • High: Standard plus privacy-preserving policy defaults.
  • Extreme: High plus more UI and convenience surface cleanup.
  • Core, Privacy, and Aggressive: compatibility aliases for Standard, High, and Extreme.
  • -LockShields: optional add-on that enforces default ad blocking, standard fingerprinting protection, HTTPS upgrades, and stricter referrer behavior.

By default, the tool uses Extreme and does not lock Shield behavior. It also refuses to apply policies that disable Shields, add Shield-disabled URLs, weaken Safe Browsing, or disable updates.

Feature Toggles

Use -Customize for an interactive yes/no prompt for each cleanup, or use -IncludeFeature and -ExcludeFeature for repeatable commands. Feature names are shown by -ListFeatures; examples include Rewards, Wallet, VPN, LeoAI, News, Talk, Autofill, Translate, and GoogleSearchSidePanel.

Use -OnlyFeature when you want exactly the named cleanups without starting from a preset.

When -IncludeProfilePreferences is combined with custom feature choices, profile preference patches are filtered to the selected features.

Doctor Mode

Use -Doctor to inspect the current Brave policy state without writing anything. It reports CurrentUser and LocalMachine policy keys, detected feature status, unknown Brave policies, protected policy names, Brave process state, profile preference files, and available backups.

This is useful after testing other debloat tools because machine-wide policies can make Brave settings appear managed for every Windows user.

Profile Preferences

Registry policies are the main path because they are supported and visible in brave://policy. For cosmetic cleanup that Brave stores per profile, close Brave and run:

.\Invoke-BraveDebloat.ps1 -Preset Extreme -IncludeProfilePreferences -Apply

If Brave is running, profile preference cleanup is skipped to avoid writing files that Brave may overwrite.

Restore

Every applied run creates a JSON backup in backups/ unless -NoBackup is used for policy-only changes.

Preview a restore:

.\Invoke-BraveDebloat.ps1 -UndoFromBackup .\backups\BraveDebloater-YYYYMMDD-HHMMSS-fff.json

Apply a restore:

.\Invoke-BraveDebloat.ps1 -UndoFromBackup .\backups\BraveDebloater-YYYYMMDD-HHMMSS-fff.json -Apply

Restore validates backup metadata before writing. Registry restores are limited to Brave policy keys, and profile file restores are limited to Preferences files under the selected -ProfileRoot.

Machine-Wide Mode

Current-user policy is the default and does not require administrator rights. For machine-wide policy, run PowerShell as administrator:

.\Invoke-BraveDebloat.ps1 -Preset Extreme -Scope LocalMachine -Apply

Sources

Policy names and values are based on Brave's official Group Policy documentation and Brave policy templates:

Project Checks

Run the built-in manifest and syntax checks:

.\scripts\Test-PolicyManifest.ps1
.\scripts\Test-Behavior.ps1

Pull Request Review

Greptile review guidance lives in greptile.json and mirrors the same safety-first focus for PowerShell compatibility, policy changes, registry writes, profile JSON writes, and feature-toggle behavior.