Skip to content

Instantly share code, notes, and snippets.

@chengyin
Last active July 11, 2021 15:23
Show Gist options
  • Save chengyin/7021086 to your computer and use it in GitHub Desktop.
Save chengyin/7021086 to your computer and use it in GitHub Desktop.
Unsubscribe all LinkedIn email in "one click". For an easier to use version, you can check out the bookmarklet: http://chengyin.github.io/linkedin-unsubscribed/
// 1. Go to page https://www.linkedin.com/settings/email-frequency
// 2. You may need to login
// 3. Open JS console
// ([How to?](http://webmasters.stackexchange.com/questions/8525/how-to-open-the-javascript-console-in-different-browsers))
// 4. Copy the following code in and execute
// 5. No more emails
//
// Bookmarklet version:
// http://chengyin.github.io/linkedin-unsubscribed/
$('.settings li select:has(option[value=never])').val('never');
$('.settings li select:has(option[value=WEB])').val('WEB');
$('.settings li select:has(option[value=NEVER])').val('NEVER');
$('.settings li select:has(option[value=NONE])').val('NONE');
$('.settings li select:has(option[value=false])').val('false');
$('input[type=submit]').prop('disabled', false).click();
@montchr
Copy link

montchr commented Oct 27, 2013

👍

@fordarnold
Copy link

Just tried it... Nice! I was sick of those LinkedIn emails.

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