How xm4ddy/ofgb works
OFGB is a small WPF utility for disabling Windows 11 advertising and suggested content by changing per-user Registry values. The user works through the main window: its code reads and initializes option values, reflects them in checkboxes, and writes corresponding values when options change. Administrator status gates the Search and Edge widget options. The graph focuses on this runtime; the source excerpts do not show XAML event wiring or application startup configuration.
Main entry points: MainWindow.xaml.cs Options window
Components 4
Windows app
- Options window
MainWindow.xaml.cs
Windows system
- Current-user Registry
- Windows identity
Other components
- User
Connections 4
- User → Options window: uses
README.md - Options window → Current-user Registry: reads and initializes
MainWindow.xaml.cs - Options window → Current-user Registry: writes toggles
MainWindow.xaml.cs - Options window → Windows identity: checks administrator
MainWindow.xaml.cs