Trinhism Logo ← Back to Trinhism

Core Concepts & Layouts

Core Concepts & Layouts

Discover how FinanceWidget renders clean widgets and leverages Google Finance’s native layout structure.


⚙️ How It Works

FinanceWidget uses an optimized rendering cycle to display borderless, overlay-free stock charts on your Windows desktop:

[FinanceWidget EXE] ──> [WebView2 Runtime Container]
                                 │
                                 ▼
                     [Loads Google Finance URL]
                                 │
                                 ▼
                   [Injects Cleanup CSS & JS DOM Script]
                                 │ (Removes Headers, Sidebars, AI overlays)
                                 ▼
                 [Isolates Chart, Price, and Tabs]
                                 │
                                 ▼
               [Renders Transparent Borderless HUD]

1. WebView2 Sandbox Environment

Each widget you spawn runs inside an isolated Microsoft Edge WebView2 runtime process. The container loads the official Google Finance page for your target ticker (e.g., https://www.google.com/finance/quote/AAPL:NASDAQ).

2. DOM Injection & UI Cleanup

Once page navigation completes, FinanceWidget executes a highly optimized cleanup script (GetClassicCleanupScript or GetBetaCleanupScript):

3. Data Refresh Intervals


📖 Glossary