Inspiration The idea for the Addiction Prevention Extension was inspired by the growing impact of online addictions, particularly in areas like gambling and adult content. I noticed how easy it is for people to access harmful content online with often just a few words on a search bar. Many individuals struggle with building healthier online habits which is why I wanted to create a tool, such as a lightweight Chrome extension that would empower users to block triggering websites and support their efforts to lead healthier digital lives.
What it does The Addiction Prevention Extension actively monitors and blocks access to harmful websites such as gambling platforms, adult content, and other high-risk domains. Once installed, it automatically restricts users from visiting these sites and instead redirects them to a positive, supportive message or a resource for healthier coping strategies. The extension runs silently in the background, offering protection without interrupting regular, healthy internet usage.
How I built it I built the Addiction Prevention Extension using web technologies like HTML, CSS, and JavaScript. The extension leverages Chrome’s built-in APIs to monitor URLs and prevent navigation to blacklisted sites. A JSON file contains an updatable list of harmful websites, which the extension references in real-time. I designed the extension to be lightweight and fast, ensuring it does not slow down the user’s browsing experience. I also created a clean, encouraging UX so users feel supported rather than restricted.
Challenges I ran into One of the biggest challenges was ensuring the blocking system was robust without being overly aggressive. I had to carefully balance preventing access to harmful sites while not accidentally blocking legitimate websites. Another challenge that I ran into was having the help resources appear on all banned websites which I am still having trouble with right now and would have to be fixed in the future.
Accomplishments that we're proud of I am proud of how effectively the Addiction Prevention Extension performs its core mission without being invasive or disruptive. I am especially proud of the positive reinforcement design, which supports users emotionally rather than simply punishing behavior. I am also proud of learning how to utilize modern AI tools such as Cursor to get myself accustomed to trends in modern programming that will help me be as useful as possible.
What I learned Throughout this project, I learned a lot about Chrome Extension development, including working with Chrome’s permissions and background scripts. I also learned how to create a friendlier user experience by using softer colors and shades when designing a visual for the user to see. This project taught me the technical aspects of Javascript as well which this project was developed in.
What's next for Addiction Prevention Extension The next steps for the Addiction Prevention Extension involve adding customizable features, such as allowing users to create their own blocklists or setting “focus mode” timers. I also plan to build a reporting system where users can request the blocking of new harmful sites. In the long term, I aim to introduce motivational tracking features, like celebrating milestones when users maintain healthy browsing habits. Some bug fixes such as the block pop up which includes links to addiction prevention resources still remain inconsistent.
Built With
- api
- chrome
- css
- cursor
- javascript
Log in or sign up for Devpost to join the conversation.