/ docs / privacy.md
privacy.md
  1  # Privacy Policy
  2  
  3  *WhoWroteThis* (repository: `WriterAIScore`) respects your privacy. This
  4  document describes what data the extension stores, where, and for how
  5  long.
  6  
  7  - **Version**: v0.1 (draft)
  8  - **Last updated**: 2026-04-17
  9  
 10  ## Plain-language summary
 11  
 12  WhoWroteThis runs entirely in your browser. It reads the author name and
 13  publication dates visible on Amazon book pages you open, counts the
 14  author's recent books, and shows you the count. **Nothing is sent to
 15  any server operated by the project.** There is no account, no login,
 16  no behavioural tracking, and no third-party analytics.
 17  
 18  ## What the extension does
 19  
 20  When you open an Amazon book product page (a `/dp/` URL on any supported
 21  Amazon locale — `.com`, `.co.uk`, `.ca`, `.com.au`, `.fr`, `.de`, `.it`,
 22  `.es`, `.nl`, `.co.jp`, `.in`, `.com.br`, or `.com.mx`), the extension:
 23  
 24  1. Reads the author's name and Amazon author ID from the page you are
 25     already viewing.
 26  2. Fetches the author's public Amazon catalog page (a same-origin HTTP
 27     request to Amazon — the same request your browser would make if you
 28     clicked the byline link).
 29  3. Counts the books published in the last 12 months and the current
 30     calendar year, using Amazon's own parent-book grouping and Amazon's
 31     displayed publication dates.
 32  4. Displays those counts in a small Info Card next to the author byline.
 33  
 34  ## What data is stored
 35  
 36  The extension stores, in your browser's local storage only
 37  (`chrome.storage.local` / `browser.storage.local`):
 38  
 39  - Amazon author IDs you have encountered while browsing.
 40  - The parsed list of each encountered author's books with publication
 41    dates.
 42  - A cache timestamp per author (used to expire entries after 7 days).
 43  
 44  This storage is scoped to your browser profile. It is not synchronised
 45  across devices.
 46  
 47  ## What is not stored or collected
 48  
 49  - **No browsing history** outside the Amazon pages you actively load.
 50  - **No identification of you personally** (no email, no login, no
 51    user ID).
 52  - **No behavioural telemetry** about which authors you looked up,
 53    which books you viewed, when, or from where.
 54  - **No data sent to any server operated by the WhoWroteThis project.**
 55  - **No third-party analytics, advertising, or tracking libraries.**
 56  
 57  ## Telemetry
 58  
 59  v0.1 ships with a telemetry *seam* in the source code that currently
 60  writes to the browser developer console only; nothing is transmitted
 61  anywhere.
 62  
 63  A future version may introduce opt-in anonymised diagnostics for
 64  drift-detection purposes (e.g. *"the parser failed on this Amazon
 65  locale"*). If and when that ships, it will:
 66  
 67  - Be disabled by default.
 68  - Require explicit consent via a first-run dialog.
 69  - Collect engineering diagnostics only — parser success/failure counts
 70    and performance timings, never which author, book, or URL you viewed.
 71  
 72  This privacy policy will be updated before any such change ships, and
 73  the change will be noted in the release notes.
 74  
 75  ## Data retention
 76  
 77  - Cache entries expire 7 days after they are stored.
 78  - Uninstalling the extension removes all stored data.
 79  - Clearing your browser's local storage for extensions also removes
 80    all stored data.
 81  
 82  ## Data sharing
 83  
 84  None. WhoWroteThis does not share your data with anyone, because
 85  WhoWroteThis does not collect your data.
 86  
 87  ## Your interaction with Amazon
 88  
 89  This extension reads from Amazon pages you open and makes same-origin
 90  requests to Amazon on pages you actively view. It does not bypass
 91  Amazon access controls, does not scrape paywalled content, and does
 92  not crawl pages you have not visited. Your relationship with Amazon
 93  is governed by Amazon's own privacy policy and terms of service.
 94  
 95  ## Source code and contact
 96  
 97  WhoWroteThis is open source under GPLv3. Source code, issue tracker,
 98  and the canonical version of this privacy policy are at:
 99  
100  - Repository: `<TODO: set when repo is pushed to its hosted location>`
101  - Issues: `<TODO: set when repo is pushed>`
102  
103  Security or privacy concerns can be reported via the issue tracker.
104  
105  ## Changes to this policy
106  
107  If this policy changes, the version number and date at the top of this
108  document will be updated and the change will be noted in release notes.
109  Material changes (e.g. introducing telemetry, changing data retention,
110  adding a backend) will prompt a first-run notice in the extension.