Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

Welcome to Locksy, an extension aimed at enhancing your privacy and productivity by locking specific tabs behind a password. Whether you're working, studying, or simply organizing your browser activity โ€” this tool ensures your sensitive tabs stay protected.

License

Notifications You must be signed in to change notification settings

vansh-121/Locksy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

82 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Locksy Logo

๐Ÿ”’ Locksy

Military-Grade Tab Protection for All Major Browsers

Chrome Web Store Edge Add-ons Firefox Add-ons Version License Security

A modern browser extension that provides military-grade tab protection with advanced security features.

Compatible with: โ€ข Chrome โ€ข Edge โ€ข Firefox โ€ข Brave โ€ข Opera โ€ข Comet โ€ข Vivaldi and all Chromium-based browsers

Features โ€ข Installation โ€ข Security โ€ข Privacy


๐ŸŽฅ Video Demo

See Locksy in action! Watch our video demonstration to learn how to protect your tabs with military-grade security.

Locksy Extension Demo

๐ŸŽฌ Watch on YouTube


๐Ÿ“ธ Screenshots

๐ŸŽฏ Main Interface & Features

Locksy Main Features
Securely Lock & Manage Your Browser Tabs
Lock individual tabs or windows with one-click privacy protection
Security Features
Your Passwords, Your Control
No data collection, SHA-256 encryption, offline-only operation
Locksy Branding
Military-Grade Tab Protection
Enterprise-level security for your sensitive browser tabs
Locked Tab
Tab Secured - Password Protected
Enter password to unlock and access your protected content

๐Ÿš€ Quick Setup Guide

Setup Step 1
Step 1: Set Master Password
Create a strong password with real-time strength indicator
Setup Step 3
Step 2: Start Locking Tabs
One-click tab protection or use keyboard shortcuts

๐Ÿ†• Recent Improvements

Version 1.0.8 - CROSS-BROWSER SUPPORT & SECURITY ENHANCEMENTS (December 17, 2025)

Status Security Privacy No Tracking New Feature

๐ŸฆŠ Major Feature: Cross-Browser Support

  • ๐ŸŒ Full Cross-Browser Compatibility: Works seamlessly across all major browsers
    • Chrome, Edge, Firefox, Brave, Opera, Vivaldi, and all Chromium-based browsers
    • WebExtension Polyfill for unified API support
    • Identical features and functionality across all platforms
    • Single unified codebase for all browsers

๐Ÿ”’ Enhanced Security

  • ๐Ÿ›ก๏ธ XSS Prevention: Advanced protection against code injection attacks
    • Replaced all innerHTML with safe DOM methods
    • Secure element creation and manipulation
    • Protection against malicious dynamic HTML insertion
    • Multiple security layers for content sanitization

๐Ÿ“ฆ Technical Improvements

  • โšก WebExtension API Compatibility: Seamless browser operation
    • Browser-agnostic API calls
    • Unified manifest support for Firefox
    • Enhanced polyfill integration
    • Updated all HTML pages for cross-browser compatibility

๐Ÿ› Bug Fixes

  • Fixed "Lock All Tabs" functionality in background script
  • Improved popup integration with background actions
  • Enhanced service worker reliability across browsers

What's New: This version introduces full cross-browser support with Firefox compatibility, enhanced XSS prevention for improved security, and a unified WebExtension API for seamless operation across all major browsers. The extension now provides identical features and security across Chrome, Edge, Firefox, Brave, Opera, and all Chromium-based browsers!


Version 1.0.7 - KEYBOARD SHORTCUTS & VISUAL INDICATORS (December 7, 2025)

Status Security Privacy No Tracking New Feature

โŒจ๏ธ New Feature: Keyboard Shortcuts

  • ๐ŸŽฏ Pre-configured Shortcuts: Ready-to-use keyboard shortcuts that work immediately

    • Alt+Shift+9: Lock current tab instantly
    • Alt+Shift+0: Open Domain Lock Manager
    • Alt+Shift+8: Lock all tabs in current window
    • Fully Customizable: All the shortcut keys are customizable in keyboard shortcut manager.
  • โšก Bulk Operations: Lock all tabs feature via keyboard

    • Locks all compatible tabs in current window
    • Automatically skips system and extension pages
    • Reports count of locked and skipped tabs

๐Ÿ”’ Visual Indicators

  • ๐ŸŽจ Lock Icon on Tab Favicon: Locked tabs display a distinctive red lock icon

    • Dynamically generated using HTML5 Canvas
    • Original favicon automatically restored on unlock
  • ๐Ÿ”ข Badge Counter on Extension Icon: Shows number of locked tabs at a glance

    • Red background with white text
    • Auto-updates on lock/unlock operations
    • Persists across browser restarts
    • Real-time updates for all scenarios

๐ŸŽจ Enhanced User Interface

  • ๐Ÿ“‹ Keyboard Shortcuts Info Panel: Added in popup with visual kbd tags
  • ๐Ÿ’ก Contextual Display: Shows shortcuts only when password is set
  • ๐ŸŒˆ Modern Styling: Gradient backgrounds and smooth animations

๐Ÿ”ง Technical Improvements

  • Command Handlers: Four dedicated functions for keyboard shortcuts
  • Badge System: Real-time counter updates across all operations
  • Favicon Management: Dynamic lock icon generation and restoration
  • Enhanced Documentation: Comprehensive keyboard shortcuts guide

What's New: This version introduces power-user features with pre-configured keyboard shortcuts for instant tab locking, domain management, and bulk operations. Visual indicators including lock icons on tab favicons and a badge counter provide clear feedback about locked tabs. The shortcuts work out-of-the-box and can be customized if needed!


Version 1.0.6 - DOMAIN LOCK FEATURE (November 22, 2025)

Status Security Privacy No Tracking New Feature

๐ŸŒ New Feature: Domain Lock

  • ๐Ÿ”’ Lock Entire Domains: Lock all tabs matching a domain pattern (e.g., *.google.com, github.com)
  • ๐Ÿ”„ Persistent Protection: Domain locks persist across browser restarts and sessions
  • ๐Ÿ†• Auto-Lock New Tabs: Automatically locks new tabs that match locked domain patterns
  • โš™๏ธ Unlock Preferences: Choose default unlock behavior for each domain:
    • Unlock only the current tab (keeps domain lock active)
    • Unlock all tabs for this domain (temporary exemption)
    • Remember your preference for future unlocks
  • ๐ŸŽฏ Wildcard Support: Lock entire subdomains with *.example.com pattern
  • ๐Ÿ›ก๏ธ Domain Manager: Dedicated interface to manage all locked domains and preferences

๐Ÿ”ง Technical Improvements

  • Pattern Matching: Smart domain pattern matching with exact match and wildcard support
  • Temporary Exemptions: Track temporarily unlocked tabs separately from domain locks
  • Preference Storage: Per-domain unlock preference persistence
  • Service Worker Optimization: Domain locks restored on service worker wake-up

What's New: This version introduces a powerful domain locking feature that lets you protect all tabs from specific websites. Perfect for locking work domains (like company portals), sensitive services (like banking sites), or entire platforms (like social media). Set it once, and all matching tabs are automatically protected!


๐Ÿ“œ Full Version History: See CHANGELOG.md for complete version history and older releases.


๐Ÿ”’ Security Notes

๐Ÿ›ก๏ธ Password Security

  • SHA-256 Hashing: Passwords are hashed before storage using industry-standard cryptography
  • No Plain Text Storage: Your actual password is never stored, only the hash
  • Current Password Required: To change password, you must enter your current password first
  • No Administrative Bypass: No way to change password without knowing current one
  • First-Time Setup: Only when no password exists can you set one without verification
  • Secure Storage: Password hashes stored locally using Chrome's secure storage API
  • No External Transmission: No data sent to external servers

๐ŸŽฏ Tab Locking Security

  • Password-Only Unlock: Tabs can ONLY be unlocked by entering correct password
  • No Bypass Methods: No administrative unlock or backdoor access
  • Local Operation: Extension works entirely offline
  • System Page Protection: Chrome system pages cannot be locked for security

๐Ÿšจ What's Protected Against

  • โœ… Unauthorized Password Changes: Requires current password verification
  • โœ… Brute Force Attacks: Failed attempts logged and blocked
  • โœ… Administrative Bypass: No backdoor or override methods
  • โœ… Extension Hijacking: Secure state management prevents tampering

๐Ÿ” SECURITY GUARANTEE: This extension is now truly secure against all known bypass methods and unauthorized access attempts.


โœจ Features

๐Ÿ” Security ๐ŸŽฏ Functionality โšก Performance ๐Ÿ›ก๏ธ Privacy
SHA-256 Encryption One-Click Locking 70% CPU Reduction 100% Offline
Brute Force Protection Password-Only Unlock Lightweight No Tracking
No Plain Text Storage Persistent Locks Instant Response GDPR Compliant
Session Timeout Navigation Protection Optimized Code No Data Collection

๐ŸŽฏ Core Functionality

  • Toggle Activation: Easy on/off switch to enable/disable the extension
  • Tab Locking: Secure any tab with a password-protected overlay
  • Domain Locking: Lock entire domains with wildcard support
  • Password Protection: Set a master password to control access
  • Instant Unlock: Quick unlock from the extension popup
  • Keyboard Shortcuts: Optional customizable shortcuts for power users
  • Badge Counter: See number of locked tabs at a glance
  • Incognito Mode: Works seamlessly in private browsing windows (requires manual activation)

๐ŸŽจ Enhanced UI

  • Modern Design: Clean, gradient-based interface with smooth animations
  • Status Indicators: Clear visual feedback for extension state
  • Password Strength: Real-time password strength indicator
  • Responsive Layout: Optimized for the extension popup size
  • Smooth Animations: Floating icons, glowing effects, and transitions

๐Ÿ”’ Security Features

  • Local Storage: Password stored locally in Chrome's secure storage
  • Extension State: Only works when activated by the user
  • Tab Validation: Cannot lock Chrome system pages
  • Secure Overlay: Full-screen lock with blur effects

๐Ÿ“ฅ Installation

๐ŸŒ From Official Stores (Recommended)

Chrome & Chromium Browsers

Install from Chrome Web Store ๐Ÿš€

Works on: Chrome โ€ข Brave โ€ข Opera โ€ข Vivaldi โ€ข and more

Microsoft Edge

Install from Edge Add-ons ๐ŸŒ

Mozilla Firefox

Install from Firefox Add-ons ๐ŸฆŠ

Installation Steps:

  1. Click the link above for your browser
  2. Click "Add to Chrome", "Get" (for Edge), or "Add to Firefox"
  3. Confirm by clicking "Add extension" or "Add"
  4. Locksy icon will appear in your toolbar! ๐ŸŽ‰
  5. Pin it for quick access (click puzzle icon โ†’ pin Locksy)

๐Ÿ’ป Manual Installation (Developer Mode)

  1. Clone the repository

    git clone https://github.com/vansh-121/Secure-Tab-Extension.git
    cd Secure-Tab-Extension
  2. Open Browser Extensions

    • Chrome/Brave/Opera/Vivaldi: Navigate to chrome://extensions/
    • Edge: Navigate to edge://extensions/
    • Firefox: Navigate to about:debugging#/runtime/this-firefox
    • Enable Developer mode (toggle in top-right for Chrome/Edge)
    • For Firefox, click "Load Temporary Add-on..."
  3. Load the extension

    • Click "Load unpacked"
    • Select the Secure-Tab-Extension folder
    • Locksy icon will appear in your toolbar! ๐ŸŽ‰
  4. Pin the extension (Optional)

    • Click the puzzle piece icon in browser toolbar
    • Pin Locksy for quick access
  5. Enable Incognito/Private Mode (Optional)

    • Go to your browser's extensions page
    • Find Locksy extension
    • Click "Details"
    • Scroll down and toggle "Allow in Incognito" or "Allow in InPrivate"
    • Now you can lock tabs in private browsing windows too! ๐Ÿ•ถ๏ธ

๐Ÿš€ How to Use

๐Ÿš€ First Time Setup

  1. Activate Extension: Click the toggle switch to activate the extension
  2. Set Initial Password: Enter a master password (you'll see "๐Ÿ”‘ Set Master Password")
  3. Password Strength: Use the real-time strength indicator to create a strong password
  4. Confirm Setup: Click "Set Password" to save your master password

๐Ÿ”„ Changing Your Password (SECURE)

  1. Current Password Required: You'll see "๐Ÿ” Current Password" field
  2. Enter Current: You MUST enter your current password first
  3. Enter New: Set your new master password (you'll see "๐Ÿ”„ New Password")
  4. Verification: System verifies your current password before allowing change
  5. Security: If current password is wrong, change is blocked for security

๐Ÿ”’ Locking Tabs

  1. Password Required: Ensure you have set a master password first
  2. Lock Current Tab: Click "๐Ÿ”’ Lock Current Tab" button
  3. Secure Overlay: Tab will be covered with password-protected overlay
  4. Unlock Only: Enter correct password on the locked tab to unlock

โš ๏ธ Tabs That Cannot Be Locked

For security and technical reasons, the following types of tabs cannot be locked:

  • ๐Ÿšซ Browser Settings Pages: chrome://, edge://, about: pages (Firefox internal pages)
  • ๐Ÿšซ Extension Pages: Chrome Web Store, extension management pages
  • ๐Ÿšซ New Tab Pages: Empty tabs or browser new tab pages
  • ๐Ÿšซ System Pages: Browser internal pages and configurations

Why? Browsers restrict extensions from modifying these pages for security. When you try to lock these tabs, you'll now see a clear message explaining why it cannot be locked.

โœ… Lockable Tabs: All regular websites (http://, https://) including news sites, social media, banking, email, etc.

๐Ÿ›ก๏ธ Security Features

  • No Bypass Methods: Only correct password unlocks tabs
  • Current Password Verification: Password changes require current password
  • Visual Security Indicators: Clear UI showing security requirements
  • Failed Attempt Logging: Security events tracked in console
  • Incognito Protection: Same security level in private browsing mode

โŒจ๏ธ Keyboard Shortcuts

Locksy includes pre-configured keyboard shortcuts that work out-of-the-box. Ready to use - No setup required!

๐ŸŽฏ Available Shortcuts

Shortcut Command Description
Alt+Shift+9 Lock Current Tab Instantly locks the active tab
Alt+Shift+0 Open Domain Manager Opens Domain Lock Manager window
Alt+Shift+8 Lock All Tabs Locks all tabs in current window

โœจ Features

  • ๐Ÿ”” Smart notifications for every action
  • ๐Ÿ›ก๏ธ Automatic safety checks (password, activation status)
  • โšก Instant feedback with detailed messages
  • ๐ŸŽฏ Bulk operations (lock all tabs at once)

โš™๏ธ Customize Shortcuts (Optional)

  1. Navigate to Shortcuts Page:

    • Chrome: chrome://extensions/shortcuts
    • Edge: edge://extensions/shortcuts
    • Brave: brave://extensions/shortcuts
  2. Find Locksy in the list

  3. Click the pencil icon next to any command and press your desired key combination

  4. Best Practices:

    • โœ… Use Alt+Shift+[Key] combinations for least conflicts
    • โœ… Try alternative keys if conflicts occur (e.g., Alt+Shift+Q, Alt+Shift+Z)
    • โŒ Avoid browser shortcuts (Ctrl+T, Ctrl+W, Ctrl+D, etc.)
    • โŒ Don't use keys already taken by other extensions

๐Ÿ”ง Troubleshooting

  • "Not set" or grayed out? โ†’ Another extension is using that combo
  • Not working? โ†’ Check if browser shortcuts override it
  • Still conflicts? โ†’ Try alternative combinations like Alt+Shift+Q, Ctrl+Shift+Period, or Alt+Shift+[0-9]

See Keyboard Shortcuts Documentation for detailed usage guide.

๐Ÿ•ถ๏ธ Incognito Mode

  1. Enable Permission: Go to chrome://extensions/ โ†’ Locksy โ†’ Details โ†’ "Allow in Incognito"
  2. Unified Password: Same master password works for both normal and incognito tabs
  3. Seamless Experience: Lock and unlock tabs in private windows just like regular tabs
  4. Privacy First: No separate configuration needed - it just works!

๐ŸŽฎ User Interface

Main Popup

  • Header: Animated lock icon with extension title
  • Status Indicator: Shows active/inactive state with color coding
  • Toggle Switch: Large, modern switch for activation
  • Password Input: Secure input with strength indicator
  • Action Buttons: Lock/Unlock controls with emoji icons

Lock Overlay

  • Full Screen: Complete tab coverage with gradient background
  • Secure Input: Password field with focus animations
  • Error Handling: Shake animations for incorrect passwords
  • Success Feedback: Smooth unlock animation

๐Ÿ”ง Technical Details

Permissions

  • storage: For saving passwords and settings
  • tabs: For tab management and locking
  • scripting: For injecting the lock overlay
  • activeTab: For current tab access
  • notifications: For user feedback
  • webNavigation: For monitoring navigation events
  • incognito (spanning): For optional incognito mode support

Files Structure

  • manifest.json: Extension configuration
  • popup.html/js: Main interface and logic
  • content.js: Lock overlay injection
  • background.js: Service worker for tab management
  • icon.png: Extension icon

๐Ÿ’ก Tips

  • โœ… Use a strong password with letters, numbers, and symbols
  • โœ… The extension only works when activated via the toggle
  • โš ๏ธ System pages (chrome://, edge://, about:) and Firefox internal pages cannot be locked for security reasons
  • โš ๏ธ Extension pages and new tab pages cannot be locked due to browser restrictions
  • ๐Ÿ’ก If you see an error when locking, check if the tab is a system or extension page
  • ๐Ÿ”’ Your password is stored securely in Chrome's local storage
  • ๐Ÿ•ถ๏ธ Enable incognito mode in extension settings to protect private browsing tabs
  • ๐Ÿ”‘ Same password works across both normal and incognito windows for convenience
  • โœ… All regular websites (http://, https://) can be locked successfully

๐Ÿ“š Documentation

  • PRIVACY.md - Comprehensive privacy policy (GDPR/CCPA compliant)
  • Security Notes - See above for detailed security information
  • Version History - Check commit history for all changes

๐ŸŒŸ Support Locksy

If you find Locksy useful, please consider:

Star on GitHub Follow Issues Pull Requests


๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.


๐Ÿ”’ Security is not a feature, it's a necessity.

Locksy Logo

Locksy - Your Tabs, Your Password, Your Privacy.

Report Bug โ€ข Request Feature โ€ข Privacy Policy


Made with โค๏ธ for Privacy & Security | ยฉ 2025 Locksy

About

Welcome to Locksy, an extension aimed at enhancing your privacy and productivity by locking specific tabs behind a password. Whether you're working, studying, or simply organizing your browser activity โ€” this tool ensures your sensitive tabs stay protected.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published