It hides some distracting elements on LinkedIn's pages (especially the main feed), such as:
- Upsell links
- The news block
- The games block
- The "For companies" menu in the navbar
// ==UserScript== | |
// @name News Feed Eradicator for LinkedIn | |
// @namespace http://miglen.com/ | |
// @version 0.5 | |
// @description News Feed Eradicator for LinkedIn | |
// @author Miglen Evlogiev ([email protected]) | |
// @match https://www.linkedin.com/* | |
// @grant none | |
// @downloadURL https://gist.github.com/miglen/4f1bccf15b63944675d34149dff0bc3d/raw/news-feeds-eradicator-linkedin.user.js#.user.js | |
// @updateURL https://gist.github.com/miglen/4f1bccf15b63944675d34149dff0bc3d/raw/news-feeds-eradicator-linkedin.user.js#.user.js |
Original code is from https://gist.github.com/aaronshaf/1346968 | |
The instructions were to open a dev console and paste in the script. | |
A nicer way is to make it a bookmarklet. | |
1. Create a new bookmark in our browser. You should be able to edit the name and URL | |
2. Give it a decent name (e.g. "amz cloud plaintext") | |
3. Paste the following as the URL (make it all one line): |
Just migrated it from Codepen.io to markdown. Credit goes to David Conner.
Working with DOM | Working with JS | Working With Functions |
---|---|---|
Accessing Dom Elements | Add/Remove Array Item | Add Default Arguments to Function |
Grab Children/Parent Node(s) | Add/Remove Object Properties | Throttle/Debounce Functions |
Create DOM Elements | Conditionals |