A simple Chrome extension that allows you to toggle the WhatsApp Web sidebar for a cleaner interface. Perfect for users who want to focus on their current chat or need more screen space.
- 🔄 Toggle sidebar visibility with one click
- 💾 Remembers your preference across sessions
- 🎨 Seamlessly integrates with WhatsApp Web's design
- 🚀 Lightweight and performant
- Clone this repository or download the source code
git clone https://github.com/sanjeed5/whatsapp-sidebar-toggle.git
-
Open Chrome and navigate to
chrome://extensions/
-
Enable "Developer mode" in the top right corner
-
Click "Load unpacked" and select the extension directory
-
Open WhatsApp Web and you'll see a new toggle button in the toolbar
- Open WhatsApp Web (https://web.whatsapp.com)
- Look for the sidebar toggle button in the toolbar (next to Settings)
- Click to hide/show the sidebar
- Your preference will be saved for future sessions
whatsapp-sidebar-hider/
├── manifest.json # Extension configuration
├── content.js # Main functionality
├── styles.css # Styling
├── icons/
│ └── icon.png # Extension icon
└── README.md # This file
The extension is built using vanilla JavaScript and CSS. It uses:
- Chrome Extension Manifest V3
- Chrome Storage API for saving preferences
- CSS for styling and animations
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Thanks to WhatsApp Web for their great UI that we could seamlessly integrate with
- Icons and styling inspired by WhatsApp's design system