1. Introduction
Welcome to CodePeek, a browser extension that enhances your ChatGPT experience by providing live previews of HTML, CSS, and Mermaid diagrams. This Privacy Policy explains how we handle your data and protect your privacy when you use our extension.
CodePeek is designed with privacy in mind. We believe in transparency and giving you control over your data.
🔒 Our Privacy Commitment
We are committed to protecting your privacy. CodePeek operates primarily on your local device and minimal data is collected or transmitted.
2. What Data We Collect
2.1 Extension Settings
CodePeek stores the following settings locally on your device using Chrome's sync storage:
- Extension Status: Whether the preview is enabled or disabled
- Window Dimensions: Your preferred preview window width and height
- Window Position: The last position of the preview window on your screen
2.2 Code Content
📝 Important Note About Code Content
CodePeek does NOT transmit or store your code content externally. All code processing happens locally in your browser. The extension reads code blocks from ChatGPT pages and renders them in a local preview window.
3. How We Use Your Data
3.1 Local Processing
- Code Detection: We scan ChatGPT pages for HTML, CSS, and Mermaid code blocks
- Local Rendering: Code is rendered in a sandboxed iframe on your device
- Temporary History: A local history of recently previewed code is stored in browser memory (cleared when the tab is closed)
3.2 Settings Synchronization
Your extension settings are stored using Chrome's sync storage, which allows them to be synchronized across your Chrome browsers when you're signed into your Google Account.
4. Permissions Required
5. Data We DON'T Collect
✅ What We Never Collect
- No Personal Information: We don't collect your name, email, or any personal identifiers
- No Chat History: We don't access or store your ChatGPT conversations
- No Code Transmission: Your code never leaves your browser
- No Analytics: We don't use tracking scripts or analytics
- No Third-Party Sharing: We don't share data with any third parties
- No Account Required: You don't need to create an account to use CodePeek
6. Security Measures
6.1 Sandboxed Environment
All code rendering occurs in a sandboxed iframe with Content Security Policy restrictions:
- Scripts are isolated from the main page
- External resource access is controlled
- Malicious code cannot escape the preview environment
6.2 Minimal Permissions
We request only the minimum permissions necessary for the extension to function, following the principle of least privilege.
7. Third-Party Services
7.1 Mermaid.js Library
CodePeek uses the Mermaid.js library (loaded from CDN) to render Mermaid diagrams. This library is open source and widely used for diagram rendering.
- Source: https://cdn.jsdelivr.net/npm/mermaid@10/
- Purpose: Local rendering of Mermaid diagrams only
- Data Flow: Diagram code is processed locally; no data is sent to external servers
⚠️ Network Access
The preview window can load external CDN resources (CSS frameworks, JavaScript libraries) if they are referenced in your HTML code. This is necessary for realistic code previews but happens within the sandboxed iframe environment.
8. Data Retention
8.1 Local Storage
- Settings: Stored indefinitely until you uninstall the extension or clear Chrome data
- Preview History: Stored in browser memory only, cleared when you close the ChatGPT tab
- Temporary Data: Code being previewed exists only during the preview session
9. Your Rights and Choices
9.1 Control Your Data
- Disable Extension: Turn off CodePeek anytime through the extension popup
- Clear Settings: Reset to default settings through the extension popup
- Clear History: Clear preview history using the trash icon in the preview window
- Uninstall: Completely remove the extension and all stored data
9.2 Browser Settings
You can also manage extension data through Chrome's extension settings:
- Go to
chrome://extensions/ - Find CodePeek in your extensions list
- Click "Details" to manage site access and storage
10. Children's Privacy
CodePeek is not directed to children under 13 years of age. We do not knowingly collect personal information from children under 13. If you are a parent or guardian and believe your child has provided us with personal information, please contact us immediately.
11. Changes to This Privacy Policy
We may update this Privacy Policy from time to time. We will notify you of any changes by:
- Posting the new Privacy Policy in this location
- Updating the "Last Updated" date at the top
- Significant changes will be highlighted in the extension
Your continued use of CodePeek after any changes constitutes acceptance of the new Privacy Policy.
12. International Users
CodePeek is designed to work globally. Since all data processing happens locally in your browser, there are no international data transfers. Your data remains on your device regardless of your location.
13. Contact Information
If you have any questions, concerns, or requests regarding this Privacy Policy or our privacy practices, please contact us:
Email: [email protected]
We will respond to your inquiry within 30 days.
14. Glossary
- Browser Extension: A software program that adds functionality to your web browser
- Content Script: JavaScript that runs in the context of web pages
- Sandboxed Iframe: An isolated environment for rendering content securely
- Local Storage: Data stored on your device within the browser
- Sync Storage: Chrome's storage that synchronizes across your signed-in devices