A Chrome extension that helps you stay focused on LinkedIn by blocking distractions and keeping only the essential features visible.
-
Your Profile - Access your profile anytime
-
Post Button - Create and share content
-
Network - Manage your professional connections
-
Messages - Stay in touch with your network
-
Feed posts from others
-
Jobs section
-
Notifications
-
Learning section
-
Premium upsells
-
Ads and promotional content
-
News and sidebar distractions
-
"People also viewed" suggestions
-
Open
icons/generate-icons.htmlin your web browser -
Click "Download All Icons" button
-
Save all 4 icons (icon16.png, icon32.png, icon48.png, icon128.png) in the
icons/folder
-
Open Chrome and navigate to
chrome://extensions/ -
Enable "Developer mode" (toggle in top-right corner)
-
Click "Load unpacked"
-
Select the
linkedin-extensionfolder -
The extension should now appear in your extensions list
-
Click the puzzle piece icon in Chrome toolbar
-
Find "LinkedIn Focus Mode"
-
Click the pin icon to keep it visible
-
Click the LinkedIn Focus Mode icon in your Chrome toolbar
-
Toggle the switch to enable or disable the blocker
-
The page will automatically reload to apply changes
-
ON badge (blue) - Focus mode is active
-
OFF badge (gray) - Focus mode is disabled
The extension uses content scripts to:
-
Inject custom CSS to hide distracting elements
-
Monitor the page for dynamically loaded content
-
Preserve access to essential LinkedIn features
-
Maintain a clean, focused interface
linkedin-extension/
├── manifest.json # Extension configuration
├── content.js # Main content script
├── content.css # Additional styles
├── background.js # Background service worker
├── popup.html # Extension popup interface
├── popup.css # Popup styles
├── popup.js # Popup functionality
├── icons/ # Extension icons
│ ├── icon16.png
│ ├── icon32.png
│ ├── icon48.png
│ ├── icon128.png
│ └── generate-icons.html
└── README.md # This file
Edit content.js to customize which elements are blocked:
// Add more selectors to hide
const style = document.createElement('style');
style.textContent = `
.your-selector {
display: none !important;
}
`;Modify the CSS selectors in content.js to show/hide different features.
This extension:
-
Does NOT collect any personal data
-
Does NOT track your browsing activity
-
Does NOT send any information to external servers
-
Only runs on LinkedIn.com
-
All processing happens locally in your browser
-
Make sure you're on linkedin.com
-
Check that the extension is enabled
-
Try reloading the page
-
Check the toggle in the extension popup
-
LinkedIn frequently updates their layout
-
You may need to update the selectors in content.js
-
Report issues for updates
-
Make sure you generated and saved all icon files
-
Icons should be PNG format
-
Check that icons are in the
icons/folder
-
Make your changes to the code
-
Go to
chrome://extensions/ -
Click the refresh icon on the extension card
-
Reload LinkedIn to see changes
-
Right-click the extension icon → "Inspect popup" (for popup debugging)
-
On LinkedIn, press F12 → Console tab (for content script debugging)
-
Check for error messages
-
Block feed posts
-
Block jobs, notifications, and learning sections
-
Keep profile, post button, network, and messages visible
-
Toggle on/off functionality
-
Clean, modern popup interface
Feel free to submit issues and enhancement requests!
This project is provided as-is for personal use.
Created to help professionals focus on meaningful LinkedIn interactions without distractions.
Note: This extension is not affiliated with or endorsed by LinkedIn Corporation.