Storage System
Cookie Porter uses a sophisticated storage architecture to ensure data integrity and security.
Local Storage
Section titled “Local Storage”The extension relies on chrome.storage.local to store all user data. This allows for:
- Offline Access: You can view and manage your data even without an internet connection.
- Performance: Instant loading of sessions and notes.
- Persistence: Data remains available until manually cleared or the extension is uninstalled.
AES Encryption
Section titled “AES Encryption”To protect sensitive information (especially cookies), Cookie Porter implements an encryption layer:
- Encryption: All data is encrypted using AES (Advanced Encryption Standard) before being written to
chrome.storage. - Key Management: Keys are generated and stored securely within the extension’s private context.
- Decryption: Data is decrypted only when needed for display or injection into a tab.
Live Update System
Section titled “Live Update System”The UI uses a subscription-based liveUpdate system:
- It listens for changes in
chrome.storage. - When a change is detected (e.g., after a sync or a local edit), the UI components are automatically notified.
- This ensures that the extension popup and options page always show the most up-to-date information without manual refreshes.