A minimalist bloatless Chrome extension that instantly closes tabs when users try to visit blocked websites.
Install from the Chrome Web Store: Lean Site Blocker
- Clone the repository
- Go to
chrome://extensions - Enable Developer mode
- Click ”Load unpacked”
- Select the folder containing this project
- Click the extension icon in your browser toolbar
- The current tab's domain is pre-filled — or type any domain like
youtube.com - Press Add or hit Enter
- Try to visit the site — the tab will instantly close
To remove a domain, click Remove next to it in the popup.
- Listens to tab updates via
chrome.tabs.onUpdated - If the URL matches a blocked domain (including subdomains), the tab is automatically closed
- All data is stored locally via
chrome.storage.local— nothing leaves your device
☕ If you find this useful, buy me a coffee
