A Chrome extension that allows users to lock tabs with a password, enhancing privacy and security while browsing. This is just a hobby side project.
- Lock tabs with a password.
- Change the password with the settings page.
- User-friendly interface for managing locked tabs.
- Clone the Repository:
git clone https://github.com/The-x-35/tab-locker-room cd tab-locker-room```
- Install Dependencies: Ensure you have Node.js installed. Then run:
npm install
To build the project for production, run the following command:
npm run build
This will generate the production-ready files in the dist
directory.
For those who want to download from GitHub or GitHub releases:
- Download the latest release or clone the repository.
- Open Chrome and go to
chrome://extensions/
. - Enable Developer mode using the toggle in the upper right corner.
- Click on the Load unpacked button.
- Select the folder where the
manifest.json
file is located (usually the root of the dist folder). - The extension should now appear in your Chrome extensions list.
To manage passwords from the service worker, you can use the following commands in the Chrome DevTools console(in your service worker):
- To view the stored password:
chrome.storage.local.get('appPassword', (data) => {
console.log('Stored Password:', data.appPassword);
});
- To remove the stored password:
chrome.storage.local.remove('appPassword', () => {
console.log('Password removed successfully.');
});
Contributions are welcome! If you have suggestions or improvements, feel free to fork the repository and submit a pull request or raise an issue.
This project is licensed under the MIT License. See the LICENSE file for details.