This Privacy Policy describes how "Source Code Viewer" (the "Extension") handles information when you use it. Your privacy is important to us, and this policy aims to be fully transparent about our absolute commitment to local, client-side data processing.
1. Information We Access
The Extension needs to access certain content from the web pages you visit to fulfill its core function. Specifically, when you activate the Extension on a webpage, it will access:
- The HTML source code of the page.
- The URLs of external CSS and JavaScript files linked by the page.
- The content of these external CSS and JavaScript files.
- The content of inline CSS (inside
<style>tags) and JavaScript (inside<script>tags) blocks.
This information (collectively, "Website Content") is accessed ONLY when you explicitly click the Extension icon or interact with its UI to inspect the active page. The Extension does not access any information automatically or in the background without your direct interaction.
2. How We Use Accessed Information
The Website Content accessed by the Extension is used SOLELY for the following purposes, all of which occur locally on your computer:
- To display the HTML, CSS, and JavaScript source code within the Extension's popup interface.
- To display the source code in a dedicated, full-screen new tab viewer. The extracted code is temporarily cached in your browser's local storage (
chrome.storage.local) to achieve this. - To allow you to copy parts of this displayed code to your clipboard.
- To package the collected files into a natively generated
.ziparchive for you to download.
The Extension explicitly DOES NOT:
- Transmit this Website Content to any external server, API, or third party. All processing, zipping, and beautifying occur completely locally within your browser.
- Collect, store, or transmit any Personally Identifiable Information (PII). The Extension is designed to be entirely client-side and does not track individual users.
- Track your browsing history or user activity beyond the immediate interaction of fetching code for the active page when requested by you.
3. User Settings and Preferences
To provide a personalized experience, the Extension allows you to customize its appearance. We use the chrome.storage.sync API to save your theme preferences.
- This data consists only of your chosen theme name (e.g., "Dark", "Light") and any custom color codes you have set in the settings.
- This information is considered non-personal configuration data. It is used solely to remember your preferred look and feel.
- Using
chrome.storage.syncallows your visual settings to be synchronized across different computers where you are logged into your Google account.
4. Required Permissions
The Extension requires the following permissions in Google Chrome (and similar Chromium-based browsers) to function properly:
activeTab: Allows the Extension to run on the current page when you click the extension icon. It grants temporary access to the active tab only upon your explicit interaction.scripting: Necessary to inject a content script into the active page to safely read the page's source code (HTML) and identify linked resources.storage: Required to save your visual theme preferences (chrome.storage.sync) and to temporarily cache the source code data to pass it to the full-screen viewer (chrome.storage.local).unlimitedStorage: Works alongside the storage permission. Because modern websites contain massive JavaScript and CSS bundles, this ensures the Extension has enough local memory allocation to cache the code without crashing.host_permissions(<all_urls>): Required to allow the background service worker to fetch the content of external CSS and JavaScript files to bypass CORS limitations.
5. Data Security
Since no user data or website content is stored persistently by the Extension or transmitted externally, the security of your information relies entirely on the security measures of your own browser and computer system. The Extension operates within the strict, sandboxed environment provided by your browser.
6. Third-Party Links & Donations
The Extension may contain links to external third-party websites, specifically for the purpose of voluntary donations (e.g., Cash App). Clicking these links will direct you to a website not operated by us.
Please be aware that:
- We do not collect, process, or store any financial information.
- Any donation you choose to make is handled entirely by the third-party payment processor.
- We assume no responsibility for the content, privacy policies, or practices of any third-party sites.
7. Changes to This Privacy Policy
We may update this Privacy Policy from time to time. We will notify you of any significant changes by posting the new Privacy Policy on this page and updating the "Last Updated" date at the top. You are advised to review this Privacy Policy periodically for any changes.
8. Contact Us
If you have any questions, concerns, or feedback about this Privacy Policy, please reach out:
- Email: gokuthug833@gmail.com
- GitHub Issues: Project Repository Issues