Skip to content

t9nzin/buy-bye

Repository files navigation

buy-bye

demo.mp4

A Chrome extension that locks buy and checkout buttons on shopping sites so impulse purchases can't go through. Clicks are blocked, the button is visually disabled, and a lock icon appears in the corner.

How it works

  1. Detects purchase/checkout buttons on any page using Chrome's on-device Prompt API (Gemini Nano). Nothing leaves your device.
  2. Falls back to keyword matching + payment-provider selectors (Shopify, Apple Pay, PayPal, Google Pay, Amazon Pay) when on-device AI isn't available.
  3. Identified buttons are locked: clicks are blocked at the capture phase, aria-disabled is set, and the element is visually grayed out.

Toggle the extension from the popup to unlock everything instantly.

Install (unpacked)

  1. Clone this repo
  2. Go to chrome://extensions, enable Developer mode, and click Load unpacked
  3. Select the buy-bye folder

Requires Chrome 138+ for the on-device AI path; older versions fall back to keyword detection.

Privacy

buy-bye does not collect, transmit, or store any user data. All detection runs locally in the browser.

License

MIT

About

chrome extension that makes checkout buttons run away from your cursor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors