Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Toumash/c7bb8facaf11feb894798d1e2a864b91 to your computer and use it in GitHub Desktop.
Save Toumash/c7bb8facaf11feb894798d1e2a864b91 to your computer and use it in GitHub Desktop.

Linkedin un-motivate Chrome Extension

Each post is just a div with data-id, that appear and disappear as you scroll the feed.

To hide an activity you can just execute this oneliner in the console.

document.querySelector("[data-id='urn:li:activity:6866019474424827904'").hidden=true;

To make it work, just use MutationObserver

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment