AdFriend Extension
A Chrome extension that transforms intrusive web advertisements into personalized movie recommendations, helping users discover their next favorite film while browsing.
Project Gallery








Project Overview
AdFriend is an innovative Chrome extension that reimagines the web browsing experience by replacing intrusive advertisements with personalized movie recommendations. Instead of being distracted by ads, users discover their next favorite movie while browsing their favorite websites. The extension intelligently detects ad containers across the web and seamlessly replaces them with interactive movie cards featuring trailers, reviews, ratings, and watchlist management. Built with React and integrated with TMDb API, AdFriend provides a privacy-focused, user-friendly alternative to traditional advertising.
Challenges & Solutions
Implementing real-time ad detection across diverse website structures required developing a robust content script that could identify various ad container patterns without breaking page layouts. The solution involved creating flexible CSS selectors and DOM mutation observers that adapt to different ad formats while maintaining page functionality.
Building seamless integration with TMDb API while handling rate limits and ensuring fast response times. This required implementing intelligent caching strategies, request batching, and fallback mechanisms to provide smooth user experience even during API delays or failures.
Designing memory-efficient content scripts that don't impact page performance. The challenge was creating a lightweight injection system that replaces ads without causing layout shifts or consuming excessive browser resources, requiring careful optimization of DOM manipulation and event handling.
Creating a responsive movie card interface that adapts to various ad container sizes while maintaining visual appeal. This required developing flexible CSS layouts and responsive design patterns that work across different website layouts and screen sizes.
Results & Impact
AdFriend successfully transforms the browsing experience by replacing ads with engaging movie content, providing users with a more enjoyable and productive web experience. The extension demonstrates seamless integration with web pages, maintaining site functionality while offering valuable entertainment recommendations. Users can discover new movies, watch trailers, read reviews, and manage watchlists directly from their browsing experience. The privacy-focused approach with local storage and no tracking ensures user trust, while the intuitive interface makes movie discovery effortless. The project showcases expertise in Chrome extension development, API integration, and user experience design.