# PixStash Privacy Policy English | [繁體中文](PRIVACY.zh-TW.md) Last updated: 2026-11-29 PixStash is a browser extension for saving Pixiv users, works, and images into a private library. All core features work locally in your browser. Google Drive features are optional. ## What PixStash stores and where All local data stays inside your browser: - **IndexedDB**: your stashed items (Pixiv metadata snapshots of works, images, and authors), your notes and ratings, categories, folders, cached thumbnails, sync state, published links list (including the encryption key of password-protected publications, so they can be updated), and subscriptions. When you turn on **Keep Pixiv bookmark info**, also metadata snapshots and thumbnails of your Pixiv bookmarks. - **`chrome.storage.local`**: extension settings, sync status, your Pixiv user ID and the result of the last bookmark scan (only when **Keep Pixiv bookmark info** is on), and—only while you are signed in with Google—your Google account email address and display name (used to show which account is signed in and to renew expired sessions). - **`chrome.storage.session`**: your Google OAuth access token and its expiry time while signed in. This is cleared automatically when the browser closes. - **`localStorage`**: sidebar category collapse state in the library page. ## What PixStash sends to Pixiv - PixStash sends `GET` requests to Pixiv's `ajax` endpoints (`www.pixiv.net`) and image host (`i.pximg.net`) to fetch metadata, thumbnails, hover previews, and ugoira frames for items you stash or view in the library. - When **Keep Pixiv bookmark info** is on and you run a scan, PixStash reads your own public and private Pixiv bookmark list. - Metadata requests use your browser's existing Pixiv login cookies (required for R-18 works) and are rate-limited by a configurable request gap (default 1000 ms). - PixStash never writes to Pixiv: it does not send `POST` requests to Pixiv and never adds bookmarks, follows, unfollows, or posts on your behalf. ## Google Drive (optional) Google Drive features are completely optional and off unless you use them: - **Sign-in, sync, and publishing**: PixStash requests only the `https://www.googleapis.com/auth/drive.file` OAuth scope. This grants access only to files that PixStash creates (specifically `PixStash/library.json` and files in `PixStash/Published`) or that you explicitly open with PixStash. - **Sign-in token and account**: the OAuth access token is kept in `chrome.storage.session` only until the browser closes. Your Google account email and display name are kept in `chrome.storage.local` while signed in. Signing out sends a best-effort revoke request to `oauth2.googleapis.com` and removes the token, account info, and local sync state. - **Public link import and subscriptions**: importing a backup from a Google Drive link or subscribing to a published category/folder downloads the file directly from `drive.usercontent.google.com` without cookies or sign-in. - **Publishing**: when you choose to publish a category or folder, PixStash uploads it to your Drive and shares it as "Anyone with the link" so others can subscribe. Anyone with that link can view its contents, including R-18 works. Your notes and ratings are excluded unless you explicitly enable "Include notes" or "Include ratings". If you protect a publication with a password, its contents are encrypted and only people who also know the password can view them. ## No tracking, ads, or PixStash servers - PixStash has no servers and no PixStash accounts. - PixStash includes no analytics, no telemetry, and no advertising. - The extension only communicates with Pixiv (`www.pixiv.net`, `i.pximg.net`) and, when you use optional cloud features, Google (`accounts.google.com`, `oauth2.googleapis.com`, `www.googleapis.com`, `drive.usercontent.google.com`). ## No data sold or shared - Your data is never sold. - Your data is never used for purposes unrelated to PixStash's core functionality, and never used for creditworthiness or lending. - Your data is never transferred to third parties, except to Google Drive at your explicit request when using sync or publishing. ## Permissions - `storage`: Stores extension settings in `chrome.storage.local`. - `unlimitedStorage`: Lets IndexedDB store the library and local thumbnail cache without the default storage quota cap. - `declarativeNetRequest`: Adds the `Referer: https://www.pixiv.net/` header to extension requests to `i.pximg.net` and Pixiv's `ajax` endpoints so thumbnails, ugoira frames and metadata can load. - `*://www.pixiv.net/*`: Runs the content script on Pixiv pages and fetches work and user metadata from Pixiv's `ajax` endpoints. - `*://i.pximg.net/*`: Fetches thumbnails and ugoira frames for the library page and local thumbnail cache. - `identity`: Signs in with Google for sync and publishing. - `alarms`: Runs auto sync and subscription update checks. - `https://drive.usercontent.google.com/*` (optional, asked the first time): Downloads public files for import from a link and subscriptions. - `https://www.googleapis.com/*` (optional, asked at sign-in): Reads and writes PixStash's own files in your Google Drive. ## How to delete your data - **Local data**: uninstall/remove PixStash from your browser to delete all local IndexedDB, `chrome.storage`, and `localStorage` data. You can also delete individual items, folders, or categories in the library page and clear cached thumbnails in Settings. - **Google sign-in data**: click **Sign out** in Settings to revoke the session token and clear your stored Google account info and sync state locally. - **Google Drive data**: delete the `PixStash` folder (which contains `library.json` and `Published`) from your Google Drive. You can also revoke PixStash's access in your Google Account third-party app settings. ## Contact If you have questions or privacy concerns, please open an issue in the repository: https://github.com/ddd000987/PixStash/issues