🛡️ CheckUrl browser extension that automatically scans and protects you from malicious links in real-time
- ✅ Real-time Link Scanning - Automatically analyzes links as you browse
- 🤖 AI-Powered Detection - Uses OpenAI GPT for advanced threat analysis
- 🚨 Visual Warnings - Highlights dangerous links with colored borders
- 🛑 Click Protection - Blocks access to malicious sites with warning dialogs
- 📊 Scan History - Tracks all scanned URLs and statistics
- ⚡ Fast Performance - Cached results and batch processing
- 🎯 Smart Whitelisting - Trusted domains bypass scanning
- Download the extension as a ZIP file from the repository
- Extract the ZIP file to a folder on your computer
- You should see a folder named
CheckUrl-extcontaining all extension files
- Open the
CheckUrl-extfolder - Find and open
background.jsin a text editor - Locate line 2 that contains:
const OPENAI_API_KEY = 'YOUR_API_KEY'; // REPLACE WITH YOUR KEY
- Replace
'YOUR_API_KEY'with your actual OpenAI API key:const OPENAI_API_KEY = 'ADD YOUR OPEN AI KEY';
- Save the file
- Open Firefox browser
- Type
about:debuggingin the address bar and press Enter - Click on "This Firefox" in the left sidebar
- Click the "Load Temporary Add-on..." button
- Navigate to your
CheckUrl-extfolder - Select the
manifest.jsonfile and click "Open" - The extension should now appear in the list of temporary extensions
- Look for the CheckUrl icon in your Firefox toolbar (shield icon)
- Click on the extension icon to open the popup dashboard
- You should see:
- Extension status showing "Protection: Active"
- Current page scan results
- Scan statistics (Safe: 0, Blocked: 0, Suspicious: 0)
- Visit any website (like Google.com)
- The extension will automatically scan the page
- Try searching for something on Google
- The extension should analyze search result links
- Check the extension popup to see scan history and statistics
- Page Load: Scans all links when a page loads
- Dynamic Content: Monitors for new links added to the page
- Real-time Analysis: Uses OpenAI GPT to analyze URL patterns and content
- 🟢 Safe Links: No highlighting (trusted)
- 🟡 Suspicious Links: Yellow border with
⚠️ warning icon - 🔴 Malicious Links: Red border with 🚨 danger icon
- Malicious Sites: Completely blocked with warning dialog
- Suspicious Sites: Warning dialog with option to proceed
- Safe Sites: No interference with browsing
Click the CheckUrl icon in your toolbar to access:
- Current Page Status: Real-time scan of the active page
- Scan Statistics: Total safe, blocked, and suspicious sites
- Recent Scan History: List of recently analyzed URLs
- Manual Scan Button: Force re-scan of current page
- Check API Key: Ensure your OpenAI API key is correctly added to
background.js - Reload Extension: Go to
about:debuggingand reload the temporary add-on - Check Console: Open browser developer tools (F12) and check for error messages
- Permissions: Make sure Firefox allows the extension to access websites
- "API key not configured": You need to add your OpenAI API key to
background.js - No scan results: The extension may be loading - wait a few seconds and check again
- Extension disappeared: Temporary add-ons are removed when Firefox restarts - reload it from
about:debugging
To keep the extension after Firefox restarts:
- The extension needs to be signed by Mozilla
- For development/personal use, you can reload it each time from
about:debugging - For permanent installation, consider packaging it as a proper Firefox add-on
🔒 Privacy: URLs are sent to OpenAI for analysis. Trusted domains are whitelisted to avoid unnecessary API calls.
CheckUrl-ext/
├── manifest.json # Extension configuration
├── background.js # Main analysis engine (ADD API KEY HERE)
├── content.js # Page interaction script
├── content.css # Visual styling
├── popup.html # Extension popup interface
├── popup.js # Popup functionality
└── icons/ # Extension icons
├── icon-16.png
├── icon-32.png
├── icon-48.png
└── icon-128.png
If you encounter any issues:
- Check the browser console for error messages
- Verify your OpenAI API key is valid and has sufficient credits
- Ensure all files are in the correct locations
- Try reloading the extension from
about:debugging
Happy Safe Browsing! 🛡️