Chrome extension that captures the current page HTML and shows it as plain text in a side panel or standalone tab.

- Capture
document.documentElement.outerHTMLfrom a page - View HTML safely as text (not rendered/executed)
- Search within captured HTML with colored match highlighting
- Copy captured HTML to clipboard
- Download captured HTML as
page.html - Open the viewer in a separate tab while keeping full functionality
- Action feedback messages for capture/copy/download/open-tab actions
- Improved UI styling and readability in both side panel and tab mode
- Click the pinned extension icon to open the side panel directly
manifest.json- Extension manifest (MV3)sidepanel.html- Side panel UIviewer.html- Standalone tab UIsidepanel.js- Shared viewer logic for both UIssw.js- Minimal background service workericons/- Extension logos (.svgsources + Chrome PNG sizes)
- Added standalone
viewer.htmlmode with source-tab targeting support - Replaced
<<<...>>>marker search output with real<mark>highlighting - Added status line feedback for success/error events after button actions
- Improved visual theme (buttons, colors, spacing)
- Improved code readability in output area (monospace + preserved indentation/newlines)
- Open
chrome://extensions - Enable Developer mode
- Click Load unpacked
- Select this project folder
- Open any webpage
- Open the extension side panel
- Click Capture HTML
- Use Search HTML (text) to highlight matches in the captured snapshot
- Use Copy to copy HTML to clipboard
- Use Download to save HTML as
page.html - Use Open in Tab to open the same viewer workflow in a standalone tab
- Search runs against the last captured HTML snapshot (not the live page)
- Matching is case-insensitive
- Matches are highlighted in color using
<mark> - Rendering preserves original indentation and line breaks
- Some restricted pages (for example Chrome internal pages) do not allow script injection, so capture can fail there.