A Chrome extension that helps developers quickly access their LinkedIn session cookie (li_at) for debugging and testing purposes.
Using LinkedIn cookies outside of LinkedIn may violate their Terms of Service. This tool is intended only for personal debugging or authorized testing. Use at your own risk.
- 🔍 Quick access to LinkedIn
li_atsession cookie - 👁 Masked display with reveal/hide toggle for security
- 📋 One-click copy to clipboard
- 🔒 Privacy-focused: No data leaves your browser
- 🎯 Side panel UI for easy access while on LinkedIn
- Chrome browser version 120 or higher
- Active LinkedIn session
- Clone or download this repository
- Open Chrome and navigate to
chrome://extensions/ - Enable "Developer mode" in the top right
- Click "Load unpacked" and select the extension directory
- The extension will be installed and ready to use
- Navigate to any LinkedIn page (e.g., linkedin.com)
- Click the extensions icon in Chrome toolbar
- Select "LinkedIn Cookie Helper" to open the side panel
- Your
li_atcookie will be displayed (masked by default) - Click the eye icon to reveal/hide the cookie value
- Click "Copy Cookie" to copy the value to your clipboard
linkedin_cookie_grabber/
├── manifest.json # Extension configuration
├── sw.js # Service worker for background tasks
├── panel.html # Side panel UI
├── panel.js # Side panel logic
├── panel.css # Side panel styling
├── icons/ # Extension icons (placeholder)
├── prd.mkd # Product Requirements Document
├── CLAUDE.md # Claude Code guidance
└── README.md # This file
This extension uses Chrome's Manifest V3 architecture with:
- Service Worker for background operations
- Side Panel API for the UI
- Chrome Cookies API for cookie retrieval
- Clipboard API for copy functionality
- Load the extension as unpacked (see Installation)
- Open Chrome DevTools and check for any errors
- Test on linkedin.com:
- Verify cookie is retrieved when logged in
- Test mask/reveal functionality
- Test copy to clipboard
- Verify error handling when not logged in
- Test on non-LinkedIn sites:
- Verify side panel is disabled
- Check appropriate error messages
The extension currently uses placeholder icons. To generate proper icons:
- Create a LinkedIn-themed icon (128x128 base size)
- Generate required sizes: 16x16, 48x48, 128x128
- Replace placeholder files in the
icons/directory
- Cookies are only accessed for the LinkedIn domain
- No external network requests are made
- Cookie values are masked by default
- No data persistence or logging
- Strict Content Security Policy enforced
This is an internal tool and not licensed for public distribution.