Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
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();

You mispelled 2. You may need to login.

Owner

chengyin commented Oct 17, 2013

Thanks @brianherman, fixed.

Thanks @chengyin. That's literally the first time I've used the Javascript console and found your instructions super easy.

πŸ‘

My inbox thanks you.

Awesome.

Thanks :D Good job!

rordaz commented Oct 17, 2013

tHANKS !

dillera commented Oct 17, 2013

thx

Awesome! Thanks!

Sweet! Thanks!

emadow commented Oct 17, 2013

+1

Thanks!

nvk commented Oct 17, 2013

+1

Nicely done. Handy.

You just changed my life; thank you very much

connor commented Oct 17, 2013

🍺

πŸ‘

Rename this to LinkedOut.

Owner

chengyin commented Oct 17, 2013

@miguelrochefort done. brilliant.

πŸ‘ Linkedin should have added an easier way to do this!

Brilliant. Thank you.

Accepted Invitations doesn't take the setting for some reason, even though it should be covered since it uses the EMAIL/WEB enumeration.

Owner

chengyin commented Oct 17, 2013

@skyebook as far as I can see it is a bug/feature of theirs.

rravu3 commented Oct 17, 2013

+1

🍺

edap commented Oct 17, 2013

thanks

You're my hero.

zcbenz commented Oct 18, 2013

🍻

oneman commented Oct 18, 2013

chengyin knows about JS Console!

"You may need to login" --> You may need to log in. (Login is a noun, log in is a verb.)

@ghost

ghost commented Oct 18, 2013

Amazing... Thanks!!!

Thanks

My inbox sends you ❀️ and a πŸͺ.

spamr commented Oct 18, 2013

<3

bzmw commented Oct 18, 2013

+1!

dakull commented Oct 19, 2013

awesome

montchr commented Oct 27, 2013

πŸ‘

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