Skip to content

An extension to block unwanted websites, with options to add, export, and import sites. Perfect for blocking gambling sites and other distracting content.

Notifications You must be signed in to change notification settings

ThiagoRHorta/NoBet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

NoBet - Website Blocker Extension

A minimalist and effective browser extension to block distracting websites, helping you stay focused and productive. Built with Manifest V3 for modern browsers.

NoBet Interface

Features ✨

  • Block Websites Instantly 🚫
    Add sites to your blocklist with a single click

  • Smart Domain Parsing 🧠
    Handles URLs, subdomains, and top-level domains intelligently

  • Cross-Browser Ready β™»
    Compatible with Chrome, Edge, and other Chromium-based browsers

  • Data Portability πŸ“‘
    Export/Import your blocklist as a simple text file

  • Modern UI πŸ€–
    Clean, gradient-based interface with smooth animations

  • Open Source πŸ“–
    MIT Licensed - free to use and modify

Installation πŸ› οΈ

  1. Clone the repository:

    git clone https://github.com/ThiagoRHorta/NoBet
  2. Open Chrome/Edge and navigate to:

    chrome://extensions/
  3. Enable Developer mode (top-right toggle)

  4. Click Load unpacked and select the "extension" directory

Usage πŸ–±οΈ

  1. Click the extension icon

  2. Add Sites:

    Enter domain (e.g., example.com or social.media)
    Click "Add"

  3. Export/Import:

    Export: Generates blocked.txt with all blocked domains
    Import: Load domains from properly formatted text file

Development πŸ§‘πŸ’»

File Structure

project-root/  
    β”œβ”€β”€ extension/  
        β”œβ”€β”€ background.js   - Core blocking logic  
        β”œβ”€β”€ manifest.json   - Extension configuration  
        β”œβ”€β”€ options.html    - Popup interface  
        β”œβ”€β”€ options.js      - UI functionality  
        β”œβ”€β”€ styles.css      - Modern styling  
        β”œβ”€β”€ icons/          - Extension assets  
            └── icon16.png, icon32.png, icon64.png, icon128.png

Contributing

  1. Fork the repository

  2. Create your feature branch:

    git checkout -b feature/amazing-feature
  3. Commit changes:

    git commit -m 'Add amazing feature'
  4. Push to branch:

    git push origin feature/amazing-feature
  5. Open a Pull Request

About

An extension to block unwanted websites, with options to add, export, and import sites. Perfect for blocking gambling sites and other distracting content.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published