100% Local & Private

Grok Any Webpage
with AI

Connect your browser to local or cloud AI models. Extract page content, ask questions, take actions. Privacy-first, works with any LLM.

4 Files
0 Dependencies
100% Private
Free To Use
PageGrok Extension
Loaded: MDN Web Docs (12,847 chars)
Model llama3:8b
You
What are the key concepts in this doc?
llama3:8b
This document covers CSS Grid Layout fundamentals: grid containers, grid lines, tracks, and grid areas as the four core building blocks...
Ask a follow-up question...

Everything You Need,
Nothing You Don't

Built with a single purpose: make local AI accessible in your browser. Four files, zero bloat.

Zero Data Upload

All processing happens on your machine. Your browsing data never touches any external server. Period.

Smart Extraction

Heuristic pruning removes ads, navigation, scripts, and cookie banners. Recursive Shadow DOM traversal for modern SPAs.

Zero Config

CORS handled automatically via declarativeNetRequest. Works out of the box with local and cloud providers.

Any LLM Provider

Ollama, OpenAI, DeepSeek, Qwen, or any OpenAI-compatible API. Switch between local and cloud models freely.

Multi-turn Chat

Full conversation context preserved. Ask follow-up questions naturally, just like chatting with a colleague.

Custom Endpoint

Connect to any OpenAI-compatible endpoint -- localhost, remote server, or cloud API.

Three Steps. That's It.

No accounts, no setup wizards, no configuration files. Install and go.

1

Browse Any Page

Navigate to any webpage -- documentation, articles, papers, or code repositories.

PageGrok installed
Ready on any tab
2

Parse the Page

Click the extension icon and hit "Parse Page". Content is extracted and cleaned automatically.

PageGrok > Parse Page
Extracted 12,847 chars
Title: MDN Web Docs
3

Chat with AI

Ask questions about the page content. Get answers powered by your local LLM, with full context.

You: Summarize this page
AI: This page covers...

Your Data Stays
on Your Machine

Unlike cloud-based AI tools, PageGrok processes everything locally. No telemetry, no analytics, no data collection. Just you and your local model.

No Cloud

In local mode, zero network requests to external servers. All API calls stay on your machine.

No API Keys

No mandatory accounts. Use local models with zero signup, or bring your own cloud API key.

Fully Transparent

Minimal codebase you can inspect. No obfuscation, no hidden behaviors. What you see is what you get.

localhost only
Browser Tab
Any webpage
PageGrok
Content extraction + chat UI
Local / Cloud LLM
Ollama, OpenAI, or any compatible API

Works with Any LLM

Local via Ollama, or cloud via any OpenAI-compatible API. Switch models on the fly.

Llama 3
DeepSeek
Qwen
Mistral
Gemma
Phi-3
CodeLlama
Vicuna

... and any other model via Ollama or OpenAI-compatible APIs.

Built for Developers

Clean architecture. Minimal footprint. Maximum transparency.

architecture
// Clean architecture. Zero build step. popup.js (UI & chat logic) |-- chrome.tabs.sendMessage | --> content.js (DOM extraction) | |-- chrome.runtime.sendMessage --> background.js (LLM proxy) |-- fetch --> local / cloud API
V3

Manifest V3

Built on the latest Chrome extension platform with declarativeNetRequest for secure CORS handling.

SD

Shadow DOM Traversal

Recursive TreeWalker penetrates Shadow DOM boundaries, ensuring content extraction works on modern SPAs.

50K

Smart Truncation

Heuristic pruning + 50K char cap keeps IPC payloads lean while preserving essential content.

i18n

Bilingual UI

English and Chinese interfaces built-in. One-click language switching.

What's New

Track the latest updates and improvements to PageGrok.

2026-03-25

v1.1.0 Beta Preview Grok & Act

  • Integrated PageAgent Core for Act mode -- AI can now interact with webpage elements, not just read them.
  • Added collapsible thinking process display for AI responses (supports DeepSeek reasoning_content and <think> tags).
  • Repositioned from Ollama-only to universal LLM support (local + cloud).
  • Added Preview & Download section on landing page for direct .zip installation.
2026-03-14

v1.0.3 Chrome Web Store Cloud API & Region Selection

  • Added external OpenAI-compatible API support for cloud LLM providers.
  • Added interactive region selection mode for targeted content extraction.
  • Addressed Chrome Web Store review feedback and updated permissions.
2026-03-12

v1.0.2 Chrome Web Store Privacy & Performance

  • Switched content script to on-demand injection for better performance.
  • Added comprehensive privacy policy page.
  • Resolved Chinese encoding issues.
2026-03-10

v1.0.0 Chrome Web Store Initial Release

  • Core feature: Chat with any webpage using local or cloud AI models.
  • Smart extraction with heuristic pruning and Shadow DOM traversal.
  • Bilingual UI (English and Chinese).

Try It Now

Download the extension package and load it in Chrome Developer Mode. No store approval needed.

pagegrok-latest-beta.zip
Chrome Extension Package (MV3)
📄 manifest.json
📄 popup.html / popup.js
📄 background.js
📄 content.js
📄 agent.js
📄 i18n.js
📁 icons/ & lib/
Download Extension Package
1

Download & Unzip

Download the .zip file and extract it to a folder on your computer.

2

Open Extensions Page

Go to chrome://extensions and enable "Developer mode" in the top right.

3

Load Unpacked

Click "Load unpacked" and select the extracted folder. Done!

Ready to Grok
Your Webpages?

Install PageGrok and start chatting with any webpage using AI. Free, flexible, and privacy-first.