A simple and functional note-taking application with auto-save, theme support, and history management.
- β Auto Save: Notes are automatically saved as you type
- β Manual Save: Save button with timestamp for manual saving
- β Note History: View and manage previously saved notes
- β Note Deletion: Delete notes with confirmation dialog
- β Storage Info: Real-time display of storage usage
- β Dynamic Titles: Automatic title generation from note content
- β Dark/Light Mode: Toggle between light and dark themes
- β Responsive Design: Modern UI with Bootstrap and Font Awesome
- β Keyboard Shortcuts: Ctrl+S to save notes
- β Manifest V3: Uses Chrome's latest manifest standard
Place your screenshots in the screenshots/ folder:
light-mode.png- Light theme interfacedark-mode.png- Dark theme interfacehistory-tab.png- History managementsaving-note.png- Note saving in action
Download all files to your computer and place them in a folder.
- Open Chrome browser
- Type
chrome://extensions/in the address bar - Enable "Developer mode" in the top right corner
- Click "Load unpacked" button
- Select the folder containing the extension files
- Click "Select Folder" button
- Click the extension icon in Chrome toolbar to open the notepad
- Or use the extension from Chrome's extension menu
- Writing Notes: Type your notes in the text area
- Auto Save: Notes are automatically saved as you type (1 second delay)
- Manual Save: Click "Save" button or use
Ctrl+S - Delete Notes: Click delete button with confirmation dialog
- Note Tab: Main editing interface
- History Tab: View and manage saved notes history
- View History: Switch to History tab to see all saved notes
- Load Note: Click "Load" button to open a previous note
- Delete History: Remove individual history entries
- Automatic Storage: Last 10 notes are automatically saved to history
- Click the theme button in the top right corner to toggle between dark/light modes
- Theme preference is automatically saved
- Real-time display of storage usage in KB
- Shows total size of all stored data including notes, history, and settings
Ctrl+S: Save current note
notepad-extension/
βββ manifest.json # Extension configuration
βββ popup.html # Main popup interface
βββ popup.css # Popup styles
βββ popup.js # Popup JavaScript code
βββ icons/ # Extension icons
β βββ icon-16.png # 16x16 icon
β βββ icon-32.png # 32x32 icon
β βββ icon-48.png # 48x48 icon
β βββ icon-128.png # 128x128 icon
βββ screenshots/ # Screenshots folder
β βββ light-mode.png # Light theme screenshot
β βββ dark-mode.png # Dark theme screenshot
β βββ history-tab.png # History tab screenshot
β βββ saving-note.png # Saving action screenshot
βββ README.md # This file
Place your screenshots in the screenshots/ folder:
light-mode.png- Light theme interfacedark-mode.png- Dark theme interfacehistory-tab.png- History managementsaving-note.png- Note saving in actiontension
- Uses Chrome's latest manifest standard
- Simplified permissions (only storage)
- Modern security standards
- Notes are stored using
chrome.storage.local - Theme preferences are saved persistently
- History is automatically managed (last 10 notes)
- Storage usage is displayed in real-time
- Bootstrap 5.3.0 framework
- Font Awesome 6.4.0 icons
- Mobile-friendly interface
- Tab-based navigation
{
"note": "Current note content",
"lastSaved": "Last save timestamp",
"theme": "light|dark",
"noteHistory": [
{
"title": "Note title (first line)",
"date": "Save timestamp",
"content": "Full note content",
"preview": "First 100 characters"
}
]
}Edit CSS variables in popup.css to customize colors:
:root {
--primary-color: #007bff;
--secondary-color: #6c757d;
--success-color: #28a745;
--danger-color: #dc3545;
/* ... other colors */
}
[data-theme="dark"] {
--primary-color: #0d6efd;
--body-bg: #1a1a1a;
--body-color: #e9ecef;
/* ... dark theme colors */
}Edit the keyboard event listeners in popup.js to modify shortcuts:
document.addEventListener('keydown', function(e) {
if (e.ctrlKey && e.key === 's') {
e.preventDefault();
saveNote();
}
});Change the history limit in popup.js:
// Add to beginning and limit to 10 items
history.unshift(historyItem);
if (history.length > 10) { // Change this number
history.pop();
}- Restart Chrome browser
- Make sure Developer mode is enabled
- Check that all files are in the correct folder
- Verify manifest.json syntax
- Check Chrome storage permissions
- Clear browser cache
- Remove and reinstall the extension
- Check browser console for errors
- Check system theme settings
- Restart the extension
- Clear extension storage and try again
- Ensure storage permissions are granted
- Check that notes are being saved first
- Try clearing extension data and starting fresh
- β Chrome (Manifest V3)
- β Chromium-based browsers (Edge, Brave, etc.)
- β Firefox (uses different extension system)
- β Safari (uses different extension system)
- All data is stored locally in your browser
- No data is sent to external servers
- No tracking or analytics
- Minimal permissions required (only storage)
This project is licensed under the MIT License.
- Fork this repository
- Create a new branch (
git checkout -b feature/new-feature) - Commit your changes (
git commit -am 'Add new feature') - Push to the branch (
git push origin feature/new-feature) - Create a Pull Request
For questions or suggestions, please open an issue or contact me:
- GitHub: @k0d1r
- Project Issues: Open an issue
Created with β€οΈ by @k0d1r
- Initial release
- Basic note-taking functionality
- Auto-save feature
- Theme support
- History management
- Storage information display



