A browser extension that adds a dislike button to LinkedIn posts, allowing you to express negative reactions to content in your LinkedIn feed.
- 🎯 Seamless Integration: Adds a dislike button that matches LinkedIn's native UI design
- 💾 Local Storage: Tracks your dislikes locally using browser storage
- 🔄 Real-time Updates: Instantly updates dislike counts and visual feedback
- 📱 Responsive Design: Works on both desktop and mobile LinkedIn layouts
- 🚀 Mock Backend: Includes a simulated backend for testing purposes
- Download or clone this repository
- Open Chrome/Edge and navigate to
chrome://extensions/(oredge://extensions/) - Enable "Developer mode" in the top-right corner
- Click "Load unpacked" and select the extension folder
- The DislinkedIn extension should now appear in your extensions list
- Download or clone this repository
- Open Firefox and navigate to
about:debugging - Click "This Firefox"
- Click "Load Temporary Add-on"
- Select the
manifest.jsonfile from the extension folder
- Navigate to LinkedIn: Visit linkedin.com and log in to your account
- Find the Dislike Button: Scroll through your feed - you'll see a new "Dislike" button next to the existing Like, Comment, Repost, and Send buttons
- Click to Dislike: Click the dislike button to register your negative reaction
- View Statistics: Click the extension icon in your browser toolbar to see your dislike statistics
dislinkedIn/
├── manifest.json # Extension configuration
├── content.js # Main content script that injects dislike buttons
├── background.js # Service worker with mock backend API
├── styles.css # CSS styles matching LinkedIn's design
├── popup.html # Extension popup interface
├── popup.js # Popup functionality
├── icons/ # Extension icons
└── README.md # This file
-
Content Script: The
content.jsfile runs on LinkedIn pages and:- Observes DOM changes to detect new posts
- Injects dislike buttons into action bars
- Handles click events and visual feedback
- Syncs with local storage
-
Mock Backend: The
background.jsservice worker provides:- Simulated API endpoints for storing/retrieving dislikes
- Cross-tab synchronization
- Persistent storage using Chrome's storage API
-
Styling: Custom CSS ensures the dislike button:
- Matches LinkedIn's existing button design
- Provides appropriate hover and active states
- Includes a thumbs-down icon (rotated thumbs-up)
- Displays dislike counts when applicable
The extension identifies posts using LinkedIn's data-urn attribute, which contains unique post identifiers like:
urn:li:activity:7380291595671199744
Dislikes are stored locally in the browser using Chrome's storage API:
- Key: Post URN (unique identifier)
- Value: Number of dislikes for that post
- Persistence: Data persists across browser sessions
- No External Servers: All data is stored locally in your browser
- No Data Collection: The extension doesn't collect or transmit any personal data
- LinkedIn Only: Only activates on LinkedIn.com domains
- Mock Backend: Simulates server functionality without actual network requests
- Edit the relevant files in the extension directory
- Reload the extension in your browser's extension management page
- Refresh LinkedIn to see your changes
- Button Injection: Modify
content.jsto change how/where buttons appear - Styling: Update
styles.cssto change button appearance - Data Handling: Modify
background.jsto change storage behavior - UI: Update
popup.htmlandpopup.jsfor extension popup changes
- Open browser developer tools on LinkedIn to see console messages
- Use the Extensions page to inspect the background script
- Check the popup console for popup-related issues
- LinkedIn Changes: May break if LinkedIn significantly changes their UI structure
- Local Only: Dislike counts are only visible to you (not shared with other users)
- Mock Backend: Currently uses simulated backend - would need real server for production use
- 🌐 Real Backend Integration: Connect to actual server for shared dislike counts
- 📊 Analytics Dashboard: More detailed statistics and insights
- 🎨 Customization Options: Different button styles and positions
- 🔔 Notifications: Alert when posts you've disliked receive updates
- 📱 Mobile App Support: Extend functionality to LinkedIn mobile app
Feel free to submit issues, fork the repository, and create pull requests for any improvements.
MIT License - feel free to use and modify as needed.
Disclaimer: This extension is not affiliated with or endorsed by LinkedIn. It's a third-party tool created for demonstration purposes.# dislinkedIn