A Chromium-based browser extension that gives you control over autofill behavior on websites.
- Opt-in control: Only affects sites/pages you explicitly enable
- Granular rules: Block autofill for entire sites, specific pages, or individual elements
- Element picker: AdBlocker-style picker to block specific form fields
- Password manager control: Discourage password manager suggestions (gentle approach)
- Privacy-focused: Never stores your form data, only stores rules and selectors
The extension supports three levels of rules (in order of priority):
- Element rules (most specific) - Block specific form fields using CSS selectors
- Page rules - Apply to a specific URL
- Site rules - Apply to an entire origin (e.g., all pages on example.com)
- Click the extension icon to open the panel
- Toggle "This website" to enable/disable for the entire site
- Toggle "This page" to enable/disable for just the current page
- Toggle individual features (AutoFill, Password Manager)
- Right-click on the page → "Stop Autofill: Block element…"
- Click on the form field you want to block
- Choose scope (site or page) and features to disable
- Click "Save & Apply"
- Download/clone this repository
- Open Chrome/Edge and go to
chrome://extensions/ - Enable "Developer mode" (top right)
- Click "Load unpacked"
- Select the extension directory
The extension uses gentle, best-effort techniques:
- Disable AutoFill: Sets
autocomplete="off"on forms and inputs - Disable Password Manager: Sets
autocomplete="new-password"on password fields andautocomplete="off"on username-like fields
Note: Some sites may fight back against these attributes. This is a gentle approach that works with most sites but isn't foolproof.
- All rules (site/page/element)
- User preferences
- Total forms blocked counter
If you have Chrome Sync enabled, these settings will sync across your devices.
- Per-page counters (session storage only)
- Temporary picker state
- Form values
- Autofill data
- Passwords
- Any typed text
Only stores: origins, URLs, CSS selectors, and feature flags.
stopautofill/
├── manifest.json # Extension manifest
├── sw.js # Service worker (background script)
├── content/
│ ├── apply.js # Content script that applies rules
│ ├── picker.js # Element picker functionality
│ └── picker.css # Picker UI styles
└── ui/
├── panel.html/css/js # Popup panel
└── confirm.html/css/js # Element block confirmation
- Manifest V3
- chrome.storage.sync for settings
- chrome.storage.session for temporary data
- MutationObserver for dynamic content
- Some sites actively fight autocomplete suppression
- Can't truly disable browser password managers (only discourage)
- Requires page refresh for changes to take effect
- Element selectors may break if sites change their HTML
GPL-3.0 - See LICENSE file for details
This is a personal project but suggestions and bug reports are welcome!