Force Dark Mode - ThemeSwitcher is engineered with an uncompromising commitment to privacy by design, local-first processing, and data minimization. This policy explains what information is processed, how it is handled, and why your data remains entirely under your control.
1. What the Extension Can Send
This policy covers two versions of the extension. Version 2.1.0 and later can send two things, both described below: a broken-site report that you start and confirm yourself (section 1.1) and an optional daily usage report that is off unless you turn it on (section 1.2). Version 2.0.0 can send an optional anonymous daily usage report if you opt in (section 1.3). Neither version sends anything else. Your settings and documents are never sent.
1.1 Broken-Site Reports (Version 2.1.0 and Later)
In version 2.1.0 and later a broken-site report is never sent on its own. It is sent only when you start and confirm it yourself: in the side panel, press Report this site as broken, read what will be sent, and press Send report. You are asked every time. (The only other network request the extension can make is when you open a web PDF in the viewer: it then downloads that PDF directly from the site that hosts it.)
A report is sent from the background service worker only and contains exactly these fields:
site: the domain of the site you are reporting, for example example.com (never the page address, path, query or anything you typed)engine: the engine in use (auto, css or invert)theme: a built-in theme name, or the word custom or default (never the name or colours of your own theme)version: the extension version
The confirmation shows the domain before you send. Nothing about what you read or watch, the documents you open or any text you type is ever collected or sent. No page address, page content, custom CSS text, theme colours or file names are included.
- No ID: a report carries no install ID, account or cookie, so reports are not linked to you or to each other. For the same reason a single report cannot be looked up or deleted afterwards.
- What the server stores: the four fields above plus the UTC date, with repeats counted. Our server function does not store IP addresses (the hosting platform’s own request logs may transiently contain them, along with the browser’s User-Agent and Accept-Language headers).
- Legal basis: your consent, given each time you press Send report.
- Use, processors and retention: reports are used only to find and fix sites that look wrong. They are never sold, never shared with advertisers and never used for anything unrelated, and are purged automatically after 13 months. They are processed only by our hosting providers (Vercel, Supabase) on our behalf; the endpoint is operated by the developer and no analytics company is involved. The database is hosted by Supabase in the United States (AWS us-east-1); for people in the EEA, the UK or Switzerland, that transfer relies on the Standard Contractual Clauses in the providers' data processing terms.
- On your device only: the extension remembers which sites you reported today (the domain and the date) so that a second tap says “Already reported today”. That note never leaves your device.
- Website visit count: this website (not the extension) counts visits with one empty request to the developer’s own site, pshah.fun, once per browser. It sends no cookies, identifiers, page or referrer data, and is skipped when Do Not Track is on.
- Crawler count: the server hosting this website counts page requests from search engines, AI crawlers and link-preview bots, by crawler name only (for example “Google”). Visits from people are not counted this way, and no IP address, URL or identifier is stored.
- Website analytics (optional): only if you click Accept on the banner, this website (not the extension) loads Microsoft Clarity, which records anonymous visits to these pages (clicks, scrolling, page views) and sets cookies. It is never loaded in the extension and never sees the pages you darken. Decline, or turn on Do Not Track, and it is not loaded. See Microsoft’s privacy statement.
- No sale or sharing: reports are never sold or shared. Your settings and documents are never sent to anyone.
1.2 Optional Usage Report (Version 2.1.0 and Later)
In version 2.1.0 and later the usage report is off by default. Nothing is sent, and no random ID exists, unless you press Turn on on the one-time card in the side panel or switch on Usage report on the Options page. If you press No thanks, or never choose, the extension sends no usage report. People who opted in to the usage statistics of version 2.0.0 are asked once to confirm, because this version also counts sites. From version 2.3.0 the report also counts which viewer features you used, so people who opted in with versions 2.0 to 2.2 are asked to confirm again; until they confirm, nothing new is sent from their install. This version also counts where features were used, in a few fixed places only, so people who opted in earlier are asked to confirm again; until they confirm, nothing new is sent from their install.
When you opt in, on each day you use dark mode, the side panel, the Options page or the document viewer the extension sends a small report, from the background service worker only. The same day’s report may be sent again, replacing the earlier one for that day, when the engines you used, the number of sites or your feature counts change (at most once an hour). A report contains exactly these fields:
id: a random identifier created when you turn the report on; it is not linked to your Google account, email or nameday: the UTC calendar day of the reportversion: the extension versionengines.auto,engines.css,engines.invert: whether each engine (Auto, CSS, Invert) was used that day (yes or no flags, not counts)sites: how many sites dark mode was applied on that day (a number only, never which sites)featureUses(version 2.3.0 and later): which features you used, as counts per day (the viewer features, and the side panel, toggle, theme, slider and site CSS features); never file names, contents or which sites (for example, how many times the PDF viewer was used, or how many pages dark mode was applied on; a whole number per feature, never a file name, size, page count, site or time)surfaceUses: which features you used and where, as counts per day, grouped into a few fixed places only (Google Docs, Google Sheets, Google Slides, web PDF, local PDF, local sheet, local document, other web page or other); never page addresses, document names or contents. This includes how many pages dark mode was applied on, turning dark mode on or off, and changes to engine, theme or sliders. The extension works out the place itself on your device (for example, how many times a PDF was exported to text on local PDF files; a whole number per feature and place, never a page address, hostname, document name, size, page count or time)
Which individual sites you visit, page addresses, what you read or watch, the documents you open, file names, contents and any text you type are never collected or sent; only a few fixed place categories (such as Google Docs or Google Sheets) appear in the counts. So that each site is counted once, the extension keeps on your device a daily list of numeric fingerprints (hashes) of site names, replaced each day; the list never leaves your device, and only the final number is sent. The report never contains page addresses, site names, document names or contents; only a few fixed place categories (such as Google Docs, local PDF files or other web pages) are reported.
- What the server stores: the random ID, the day and the fields above. Our server function does not store IP addresses (the hosting platform’s own request logs may transiently contain them, along with the browser’s User-Agent and Accept-Language headers).
- Legal basis: the random ID is treated as pseudonymous personal data, and the lawful basis is your consent, which you can withdraw at any time.
- Use, processors and retention: the reports are used only by the developer to count daily and weekly users, returning users and retention, and to see which versions are in use and which viewer features are used (counts only), and which features are used in which of a few fixed places (counts only). Individual reports and random IDs are never published, never sold, never shared with advertisers and never used for anything unrelated, and reports are purged automatically after 13 months. They are processed only by our hosting providers (Vercel, Supabase) on our behalf; the endpoint is operated by the developer and no analytics company is involved. The database is hosted by Supabase in the United States (AWS us-east-1); for people in the EEA, the UK or Switzerland, that transfer relies on the Standard Contractual Clauses in the providers' data processing terms.
- Turning it off and deleting your data: untick Usage report on the Options page, or press No thanks on the card if you are asked to confirm. This stops the reports, asks the server to delete every report stored for your random ID, and forgets the ID. If the deletion request cannot reach the server, the extension keeps the random ID only to retry the deletion (each time the browser starts the extension) until the server confirms it; the ID is then removed. Turning it on again creates a new random ID.
- No sale or sharing: usage reports are never sold or shared. Your settings and documents are never sent to anyone.
1.3 Optional Anonymous Usage Statistics (Version 2.0.0 Only)
In version 2.0.0, usage statistics are off by default. Nothing is sent unless you click Yes on the one-time card in the extension popup or switch on Usage stats on the Options page. Version 2.1.0 and later have their own usage report, described in section 1.2. If you click No, or never choose, the extension sends nothing to us. (The only other network request the extension can make is when you open a web PDF in the viewer: it then downloads that PDF directly from the site that hosts it.)
When you opt in, the extension sends one small anonymous report per day, from the background service worker only. It says that you used the extension that day and contains exactly these fields (Options > Usage stats shows an example report, with a placeholder ID, before you turn it on, and today’s report afterwards):
id: a random identifier created when you opt in; it is not linked to your Google account, email or nameday: the UTC calendar day of the reportversion: the extension versionenv.chrome: the Chrome major version numberenv.os: your operating system family (mac, windows, linux, chromeos or other)env.lang: your browser UI language codeengines.auto,engines.css,engines.invert: whether each engine (Auto, CSS, Invert) was used that day (yes or no flags, not counts)theme: the built-in theme you used, or the word custom for your own themefeatures.viewer,features.editor,features.customCss,features.sitePack: whether you used the document viewer, the theme editor, custom CSS or a site pack that day (yes or no flags)
Nothing about the sites you visit, what you read or watch, the documents you open or any text you type is ever collected or sent. No hostnames, URLs, page content, custom CSS text, theme colours or file names are included.
- What the server stores: the random ID, the day and the fields above. Our server function does not store IP addresses (the hosting platform’s own request logs may transiently contain them, along with the browser’s User-Agent and Accept-Language headers).
- Legal basis: the random ID is treated as pseudonymous personal data, and the lawful basis is your consent, which you can withdraw at any time.
- Use and processors: the statistics are used only to understand how many people use the extension and which features matter, and to publish combined totals on the usage statistics page (darkmode.pshah.fun/stats.html); groups of fewer than 10 installs are never shown. They are never sold, never shared with advertisers and never used for anything unrelated. They are processed only by our hosting providers (Vercel, Supabase) on our behalf; the endpoint is operated by the developer and no analytics company is involved. The database is hosted by Supabase in the United States (AWS us-east-1); for people in the EEA, the UK or Switzerland, that transfer relies on the Standard Contractual Clauses in the providers' data processing terms.
- Turning it off and deleting your data: to delete the data already sent, click Delete my data in Options > Usage stats (this deletes the server records and also turns usage stats off). Do this before unticking the box or uninstalling, because turning usage stats off discards the random ID needed to find the records. Records that are not deleted this way are purged automatically after 13 months. If the deletion request cannot reach the server, usage stats stay off and the extension keeps the random ID only to retry the deletion until the server confirms it; the ID is then removed.
- No sale or sharing: usage statistics are never sold. Only combined totals (never individual reports or random IDs) are published at darkmode.pshah.fun/stats.html, and groups of fewer than 10 installs are never shown. The hosting providers (Vercel, Supabase) process the data on our behalf. Your settings and documents are never sent to anyone.
Moving to 2.1.0: version 2.1.0 does not send anything from a 2.0.0 opt-in until the person confirms the card described in section 1.2. If they confirm, they keep their random ID. If they decline, the extension asks the server to delete the data stored for that ID and then forgets the ID; if the request fails it is retried each time the browser starts the extension. The combined totals on the usage statistics page came from the 2.0.0 reports and stop being updated as people update.
1.4 Pro Interest Survey (Website Only)
The Pro page on this website, and a "Pro is coming" button in the extension's side panel, link to a Google Form (the button goes through a forwarding link on this website) where you can choose which features you would pay for. This is a separate page on Google's service, not part of the extension: the extension itself does not connect to it, and we do not count who opens it. Google receives the answers you submit; the email address is optional. We use the answers only to decide what to build and to tell you if Pro launches, and we delete your email on request (see section 6).
2. Local Storage & Chrome Sync
ThemeSwitcher uses Chrome’s built-in chrome.storage.sync API solely to store your display preferences:
- Selected dark mode engine per domain (
auto,css, orinvert). - Custom background color preferences per domain.
- Dark document and PDF viewer configuration (font size, zoom level, contrast settings).
- Global defaults applied to unconfigured websites.
These preferences are stored in your local Chrome profile and synchronized across your signed-in devices through Google’s official synchronization service. They are never sent to any server run by the developer; the only server involved is the optional usage-statistics endpoint described in section 1, which does not receive your preferences.
Pre-paint flag (the one value kept in a website’s own storage): so that a site you use in dark mode does not flash white while the extension starts, the extension keeps one small flag, __fdm_pre, in that website’s own localStorage. It holds only the digit 1 and the time it was set (for example 1:1760000000000), meaning “dark mode was applied on this site last time”. It is removed when dark mode is off for the site, the site is natively dark, or dark mode is not applied there for any other reason, and it is ignored after 7 days. It contains no settings, themes, page addresses or personal data, and it is never sent anywhere by the extension. Because it lives in the site’s storage, that site’s own scripts can see it (and so could tell that dark mode was applied there); clearing the site’s data in Chrome removes it. Nothing else is ever written to a website’s storage, and the extension uses no cookies.
3. Document & PDF Processing
When you view a local or online PDF, Markdown, TXT, or RTF document in the Dark Document Viewer:
- The file is processed 100% locally inside your browser sandbox.
- Rendering is performed by bundled, offline client-side libraries (PDF.js).
- Your documents, text content, and files are never uploaded, logged, or analyzed by any remote service.
4. Browser Permissions Audit
| Permission | Purpose & Scope |
|---|---|
storage |
Required to save your per-site preferences and viewer options locally and sync them between your Chrome instances. |
activeTab |
Used only when you open the popup (version 2.0.0) or the side panel (version 2.1.0 and later) to inspect page luminance and apply your selected theme settings to the active tab. |
sidePanel (version 2.1.0 and later) |
Shows the extension’s controls in the browser’s side panel instead of a popup. It gives no access to any page. |
<all_urls> (content_scripts) |
Enables the extension to apply dark mode at document_start across sites so pages open without blinding white flashes. |
5. User Rights & Data Control (GDPR / DPDP / CCPA)
We provide built-in technical controls directly in the extension’s Options page:
- Right to Portability (GDPR Art. 20): Export your saved site configurations as a portable JSON file at any time.
- Right to Erasure (DPDP Sec. 12 / GDPR Art. 17): Permanently wipe all stored domain preferences with a single click using the “Erase All Stored Data” button. Broken-site reports (version 2.1.0) carry no ID, so they cannot be deleted individually; they are purged after 13 months. In version 2.0.0, click “Delete my data” in Options > Usage stats before turning usage stats off or uninstalling to delete the usage statistics stored for your random ID; records not deleted this way are purged after 13 months. If you opted in to the 2.0.0 usage report, updating to 2.1.0 deletes that data for you.
- Right to Non-Discrimination: We provide full functionality to all users without discrimination.
6. Contact & Grievance Redressal
If you have any questions, privacy inquiries, or grievances, our designated contact is:
Email: pshah.lab@gmail.com (Acknowledgment within 48 hours; resolution within 30 days)
Support & Community Feedback: ThemeSwitcher Feedback Form