A Chrome extension that automatically solves LinkedIn Zip puzzles using an intelligent DFS backtracking algorithm.
- 🧩 Automatic Puzzle Detection - Detects grid size and extracts puzzle state
- ⚡ Fast Solver - Uses depth-first search with backtracking to find solutions
- 🎯 Reliable Clicking - Multiple event types ensure compatibility
- 🎨 Modern UI - Clean, LinkedIn-inspired popup interface
- 📊 Debug Logging - Console output for troubleshooting
-
Download or Clone this repository to your local machine
-
Open Chrome Extensions Page
- Navigate to
chrome://extensions/ - Or click the three dots menu → More Tools → Extensions
- Navigate to
-
Enable Developer Mode
- Toggle the "Developer mode" switch in the top right corner
-
Load the Extension
- Click "Load unpacked"
- Select the
linkedin_zip_extensionfolder - The extension should now appear in your extensions list
-
Pin the Extension (Optional)
- Click the puzzle piece icon in the Chrome toolbar
- Find "LinkedIn Zip Solver" and click the pin icon
-
Navigate to LinkedIn Zip
- Go to LinkedIn Games
- Click on the "Zip" puzzle
-
Open the Extension
- Click the LinkedIn Zip Solver icon in your Chrome toolbar
- Or use the keyboard shortcut (if configured)
-
Solve the Puzzle
- Click the "Solve Puzzle" button in the popup
- Watch as the extension automatically solves the puzzle!
- Check the browser console (F12) for detailed logs
The extension scans the page for cells with data-cell-idx attributes and extracts:
- Grid dimensions (height × width)
- Cell values (numbers 1 through N)
- Empty cells
Uses a depth-first search (DFS) with backtracking to find a valid path:
- Start at cell containing "1"
- Move to adjacent cells (up, down, left, right)
- Visit numbered cells in sequential order (1 → 2 → 3 → ...)
- Fill all empty cells while maintaining the number sequence
- End at the highest numbered cell
Simulates multiple event types for maximum compatibility:
MouseEvent(mousedown, mouseup, click)PointerEvent(pointerdown, pointerup)TouchEvent(touchstart, touchend)
Each cell is clicked with a 50ms delay for reliability.
Check the Console
- Press
F12to open DevTools - Look for error messages or logs from the extension
Verify You're on the Right Page
- The extension only works on
linkedin.compages - Make sure you're on an active Zip puzzle
Reload the Extension
- Go to
chrome://extensions/ - Click the refresh icon on the LinkedIn Zip Solver card
Reload the Page
- Refresh the LinkedIn Zip puzzle page
- Try clicking "Solve Puzzle" again
Some puzzles may be unsolvable or have complex constraints. Check the console for:
- "No solution found!" - The puzzle may be impossible
- Grid detection errors - The page structure may have changed
linkedin_zip_extension/
├── manifest.json # Extension configuration
├── content.js # Puzzle solver logic
├── popup.html # Extension popup UI
├── popup.js # Popup interaction handler
├── icons/ # Extension icons
│ ├── icon16.png
│ ├── icon48.png
│ └── icon128.png
└── README.md # This file
activeTab- Access the current tab to inject the solverscripting- Execute the content script on LinkedIn pages
Edit content.js to adjust:
- Click delay: Change
clickDelay(default: 50ms) - Grid sizes: Modify
possibleSizesarray - Algorithm: Update
solveZipPuzzle()function
MIT License - Feel free to use and modify!
Found a bug or have a feature request? Please open an issue or submit a pull request!
Note: This extension is not affiliated with or endorsed by LinkedIn. Use responsibly and for educational purposes.