Skip to content

Instantly share code, notes, and snippets.

@m7142yosuke
Last active May 4, 2026 02:38
Show Gist options
  • Select an option

  • Save m7142yosuke/2b81dcc3fe16d229147f770fb5125996 to your computer and use it in GitHub Desktop.

Select an option

Save m7142yosuke/2b81dcc3fe16d229147f770fb5125996 to your computer and use it in GitHub Desktop.
IfYouMust — Privacy Policy

IfYouMust — Privacy Policy

Last updated: 2026-05-04

IfYouMust is a Chrome extension that helps users delay access to self-designated websites until a user-defined task is completed.

What data we collect

None.

The extension does not collect, transmit, sell, share, or in any way exfiltrate any data from your device. There are no servers, no analytics, no telemetry, no advertising SDKs, and no third-party integrations.

What data is stored locally on your device

The following data is stored exclusively on your device using Chrome's chrome.storage.local API and never leaves the device:

  • Rules — the list of (domain, task) pairs you create.
  • History — a local log of timestamps when you completed a gate task, capped at the 1,000 most recent entries.
  • Pro interest counter — a local counter of how many times you tapped "Coming soon" / "Pro" lock items, used solely to inform future feature prioritization. This counter is also stored only on your device.

You can delete all of this data at any time by uninstalling the extension or by clearing the extension's storage from chrome://extensions/ → IfYouMust → Details → Storage.

Permissions explained

  • storage — required to persist your rules and history locally.
  • scripting — required so the extension can register a content script for each domain you have chosen to gate, and unregister it when you remove the rule. The extension never calls chrome.scripting.executeScript() and never injects code other than the bundled content.js.
  • Host permissions — not granted at install time. The manifest declares optional_host_permissions: ["<all_urls>"] purely as a capability so that the extension can ask for access to specific domains later. Each time you add a new gate rule, Chrome shows you a permission prompt for that single domain (e.g. *://youtube.com/* and *://*.youtube.com/*). Permission is granted only if you explicitly allow it. When you delete a rule, the permission for that domain is revoked. At any moment the extension has host access only to the exact set of domains you have actively chosen to gate. Within those domains the content script reads only the hostname; it does not read page content, DOM, form data, or network traffic, and transmits nothing.

Children's privacy

The extension does not knowingly collect data from anyone, including children. Since no data is collected at all, no special handling is required.

Changes to this policy

If we ever add features that involve transmitting data outside your device (for example a future "cross-device sync" Pro feature), we will update this policy and explicitly request your consent in the extension before any data leaves your device.

Contact

For questions or concerns, please use the developer contact email listed on this extension's Chrome Web Store listing page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment