Advanced QR Code Generator with Custom Patterns & SVG Export
A professional QR code generation utility built with vanilla JavaScript that creates customizable QR codes with automatic version selection, error correction, and SVG export capabilities.
This enterprise-grade browser extension provides comprehensive cookie management capabilities with advanced tab tracking and automatic cleanup functionality. Built as a Manifest V3 extension, it demonstrates cross-browser compatibility, intelligent tab lifecycle management, and secure cookie handling for modern web browsers. Unlike basic cookie viewers, this implementation features domain-aware cookie management, smart auto-cleanup that preserves cookies while multiple tabs are open, and granular control over individual cookies - delivering professional-grade privacy management with complete control over cookie operations. The application showcases browser extension architecture, permission management, background service workers, and real-time UI updates - essential capabilities for building sophisticated browser extensions that require precise control over user privacy and data management.
Most cookie management extensions either provide basic viewing capabilities or require manual cleanup for each domain. I wanted to create a comprehensive, privacy-focused cookie manager that automatically handles cookie cleanup while respecting user context - preserving cookies when multiple tabs of the same domain are open and only cleaning up when the last tab is closed.
This project required deep understanding of browser extension architecture, particularly Manifest V3 requirements and the complexities of cross-browser compatibility. The most challenging aspect was implementing the intelligent auto-cleanup system that tracks tab lifecycle events and maintains domain reference counts to determine when cookies should be automatically deleted.
Key Challenge: Creating a seamless auto-cleanup experience that balances user privacy with usability - automatically deleting cookies when leaving a domain's last tab while preserving them when multiple tabs are open, all while providing clear visual feedback and user controls.
async function initializeExtension() { try { const tabs = await chrome.tabs.query({ active: true, currentWindow: true }); currentTab = tabs[0]; if (currentTab && currentTab.url) { const url = new URL(currentTab.url); currentDomain = url.hostname; document.getElementById('current-domain').textContent = currentDomain; } else { document.getElementById('current-domain').textContent = 'No active tab'; } const result = await chrome.storage.sync.get(['autoCleanup']); const autoCleanupCheckbox = document.getElementById('auto-cleanup'); autoCleanupCheckbox.checked = result.autoCleanup || false; } catch (error) { console.error('Error initializing extension:', error); document.getElementById('current-domain').textContent = 'Error loading domain'; } }
This project is hosted on Hostinger - get 20% off your first plan with my referral code.
A professional QR code generation utility built with vanilla JavaScript that creates customizable QR codes with automatic version selection, error correction, and SVG export capabilities.
We use cookies to enhance your browsing experience, serve personalized ads or consent, and analyze our traffic. By clicking "Accept All", you consent to our use of cookies. Cookie Policy
We use cookies to help navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.
Necessary cookies are required to enable basic features of this site, such asproviding secure log-in or adjusting your consent preferences. These cookies do not store any personally indetifable data. Cookie Policy
Always Active
Functional cookies help perform certain functionalities like sharing the consent of the website on social media platforms, collecting feedback, and other third-party features. Cookie Policy
Analytic cookies are used to understand how visitors rinteract with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic cource, etc. Cookie Policy
Advertisement cookies are used to provide visitors with customized advertisements based on the pages you visited previously and to analyze the effectiveness of the ad campaigns. Cookie Policy