Skip to content
carelesshangmanPublic

About

F*ck Honey

Resources

Stars

2 stars

Watchers

1 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

Agave Chrome Extension 🌿

Agave Extension

WHY?

PayPal's Honey is terrible as outlined in multiple videos in the past year, e.g. MegaLag. If you want to have a lightweight, open-source alternative that focuses on supporting content creators through affiliate links and doesn't steal/sell your data, Agave is for you.
TL;DR: fuck Honey

Why the name?

I used agave syrup instead of honey as a sweetener once. Not as catchy as "F*ckHoney" tho.

Screenshots

Widget Example

Extension Popup

How to Add New Creators

Want to add your favorite creator? Open an issue on this repository with the following information:

Issue Template:

Title: Add [Creator Name] to [Website]

Website: https://example.com
Creator Name: John Doe
Affiliate Code: JOHNDOE123
Referral URL: https://example.com/ref/JOHNDOE123

Or submit a pull request editing creator_db.json:

{
  "https://website.com": {
    "YouTuber Name": "CODE123",
    "Another Creator": "THEIRCODE"
  },
  "https://website2.com": {
    "Creator Name": "AFFILIATE",
    "Second Creator": "REFERRAL"
  }
}

Features

  • Automatic Site Detection - Detects when you're on supported shopping sites
  • Searchable Creator List - Clean, modern UI with real-time search
  • Privacy-First - All data stored locally, no external servers
  • User Intent Required - Only redirects after explicit user click (Chrome Web Store compliant)
  • Shadow DOM Isolation - UI doesn't interfere with website layouts
  • Local Analytics - Tracks last 100 affiliate applications locally

Installation

  1. Open Chrome and navigate to chrome://extensions/
  2. Enable Developer mode (toggle in top-right corner)
  3. Click Load unpacked
  4. Select the agave folder
  5. Extension is now installed!

How to Use

  1. Visit any supported shopping site (nordvpn.com, amazon.com, skillshare.com, audible.com, squarespace.com)
  2. A floating green widget appears in the top-right corner
  3. Browse the list of creators or use the search box to filter
  4. Click any creator to apply their affiliate link
  5. The page reloads with the creator's affiliate URL for "last-click" attribution

Supported Sites

  • nordvpn.com - 3 creators (Marques Brownlee, Linus Tech Tips, Dave2D)
  • amazon.com - 3 creators (TechLinked, Unbox Therapy, iJustine)
  • skillshare.com - 2 creators (Ali Abdaal, Thomas Frank)
  • audible.com - 1 creator (BookTube Central)
  • squarespace.com - 2 creators (MKBHD, Peter McKinnon)

File Structure

agave/
├── manifest.json        # Manifest V3 configuration
├── content.js           # Site detection and UI logic
├── background.js        # Service worker for redirects
├── creator_db.json      # Creator database (local)
├── styles.css           # Global styles (minimal)
├── image16.png          # Extension icon 16x16
├── image48.png          # Extension icon 48x48
├── image128.png         # Extension icon 128x128
└── README.md            # This file

Technical Details

Manifest V3 Configuration

  • Permissions: storage, tabs, scripting
  • Host Permissions: <all_urls> (for site detection)
  • Background: Service worker (background.js)
  • Content Scripts: Runs on all URLs at document_end

Architecture

  • content.js - Loads creator database, detects matching sites, renders Shadow DOM UI
  • background.js - Listens for messages, performs tab redirects, stores local analytics
  • creator_db.json - JSON database mapping domains to creator arrays
  • Shadow DOM - Isolates UI styles to prevent conflicts with host sites

Privacy & Compliance

✅ No External Servers - All data stored via Chrome Storage API
✅ User Consent Required - Redirects only on explicit click
✅ Local Analytics - Last 100 entries stored locally
✅ Chrome Web Store Ready - Follows all policies

Customization

Change Theme Colors

Edit content.js and modify:

  • Primary green: #2d5016
  • Secondary green: #3d6b1f

Adjust Widget Position

In content.js, modify .agave-widget CSS:

top: 20px;    /* Distance from top */
right: 20px;  /* Distance from right */

Change Display Delay

In content.js, modify timeout:

setTimeout(() => {
  createAgaveWidget(siteData.creators);
}, 1000);  // Change 1000 to desired milliseconds

Development

Making Changes

  1. Edit files in the agave folder
  2. Go to chrome://extensions/
  3. Click refresh icon on Agave extension
  4. Test on a supported site

Debugging

  • Console Logs: Right-click page → Inspect → Console
  • Background Logs: chrome://extensions/ → Click "service worker"
  • Storage: Chrome DevTools → Application → Storage → Local Storage

Testing

Visit test sites:

Troubleshooting

Widget not appearing?

  • Check extension is enabled in chrome://extensions/
  • Refresh the page (Ctrl+R or Cmd+R)
  • Check console for "Agave:" messages

Search not working?

  • Ensure you're typing in the search input
  • Search is case-insensitive

Click doesn't redirect?

  • Check background service worker logs
  • Verify tabs permission is enabled

UI conflicts with site?

  • Click × to close widget
  • Shadow DOM should prevent most conflicts

Version History

v1.1.0 (December 24, 2025)

  • Added dark mode toggle with smooth 360° rotation animation
  • Implemented pagination (5 creators per page)
  • Added alphabetic sorting by default
  • Removed scrollbar overflow, using pagination instead
  • Added GitHub repository link in widget footer
  • Added floating leaf animation
  • Improved UI with enhanced hover effects and transitions
  • Updated image paths to images/ folder
  • Added screenshots to README

v1.0.0 (December 24, 2025)

  • Initial release
  • Manifest V3 implementation
  • Shadow DOM UI
  • 5 supported shopping sites
  • Local analytics storage
  • Search functionality

License

Private project for personal use.


Made with 🌿 by the Agave team

About

F*ck Honey

Resources

Stars

2 stars

Watchers

1 watching

Forks

Contributors

Languages