Skip to content

hees05/WebBlocker

Repository files navigation

🛡️ SafeSurf Blocker — Chrome Extension

A tool to protect your future self from brainrot on the web.


🚀 Overview

SafeSurf Blocker is a Chrome Extension developed to help users surf the internet more mindfully in a world where attention is constantly under siege.

It blocks access to websites containing harmful, low-effort, or brain-melting content based on a list of predefined keywords. But it doesn’t just block — it speaks to you.

When you try visiting a restricted site:

🗣️ Emily (our AI voice assistant) explains why the page is blocked
🎙️ Then asks you to say:
“I will not search up again.”
🙏 And finally —
You must say: “I’m sorry.” before you're allowed to go back.

It may sound odd, but sometimes reflection and friction are powerful tools for change.


✨ Features

  • 🔐 Blocks pages based on dangerous or distracting keywords
  • 🎙️ Voice recognition to verify spoken phrases
  • 🧠 Promotes self-reflection and accountability
  • 📊 View statistics of blocked keyword attempts
  • 🗣️ Add/remove keywords using voice commands
  • 📢 Emily (powered by Neuphonic) delivers real-time spoken feedback
  • 🧾 Modal instructions to help you navigate how to use the voice interface

🎤 Voice Commands

You can say the following:

  • "I will not search up <keyword> again"
    → Unlocks the “Go Back” button

  • "I'm sorry"
    → Confirms your reflection and finalises the unlock

  • "Can you add <word> to keyword?"
    → Adds a word to the block list

  • "Can you delete <word> from the keywords?"
    → Removes a blocked word


🛠️ Setup Instructions

  1. Clone or download this repository
  2. Open chrome://extensions in Google Chrome
  3. Enable Developer Mode (top right)
  4. Click "Load unpacked"
  5. Select the folder containing the extension files
  6. Ensure you have internet access — Neuphonic's AI voice requires it

📦 Tech Stack

  • JavaScript (Vanilla)
  • HTML & CSS
  • Chrome SpeechRecognition API
  • Neuphonic AI Voice
  • Firebase Firestore (optional - for storing keyword usage stats)

⚠️ Purpose

This extension was created with the belief that the future of the web should protect users — not drain them.

Whether you’re trying to break a habit, reduce distractions, or just stay on track — SafeSurf Blocker offers a gentle intervention when it’s needed most.

It’s not meant to replace therapy, blockers, or real help. It’s just a tool — but it’s made with care, and a little bit of attitude.


🙏 Credits

  • Neuphonic — for the realistic and expressive voice of Emily
  • Friends & testers — for not judging me during testing
  • My brain — for deciding enough was enough with brainrot

“To the future — a version of it where our minds stay a little sharper.”

About

This is a google extension that will block the user from accessing a website with certain keywords.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors