Skip to content

Instantly share code, notes, and snippets.

Embed
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();
@brianherman

This comment has been minimized.

Copy link

@brianherman brianherman commented Oct 17, 2013

You mispelled 2. You may need to login.

@chengyin

This comment has been minimized.

Copy link
Owner Author

@chengyin chengyin commented Oct 17, 2013

Thanks @brianherman, fixed.

@erigentry

This comment has been minimized.

Copy link

@erigentry erigentry commented Oct 17, 2013

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

@d3mcfadden

This comment has been minimized.

Copy link

@d3mcfadden d3mcfadden commented Oct 17, 2013

👍

@rileyteige

This comment has been minimized.

Copy link

@rileyteige rileyteige commented Oct 17, 2013

My inbox thanks you.

@chamblin

This comment has been minimized.

Copy link

@chamblin chamblin commented Oct 17, 2013

Awesome.

@niveditc

This comment has been minimized.

Copy link

@niveditc niveditc commented Oct 17, 2013

Thanks :D Good job!

@rordaz

This comment has been minimized.

Copy link

@rordaz rordaz commented Oct 17, 2013

tHANKS !

@dillera

This comment has been minimized.

Copy link

@dillera dillera commented Oct 17, 2013

thx

@jchatard

This comment has been minimized.

Copy link

@jchatard jchatard commented Oct 17, 2013

Awesome! Thanks!

@geekgonecrazy

This comment has been minimized.

Copy link

@geekgonecrazy geekgonecrazy commented Oct 17, 2013

Sweet! Thanks!

@emadow

This comment has been minimized.

Copy link

@emadow emadow commented Oct 17, 2013

+1

@thoughtpalette

This comment has been minimized.

Copy link

@thoughtpalette thoughtpalette commented Oct 17, 2013

Thanks!

@nvk

This comment has been minimized.

Copy link

@nvk nvk commented Oct 17, 2013

+1

@javajosh

This comment has been minimized.

Copy link

@javajosh javajosh commented Oct 17, 2013

Nicely done. Handy.

@spacenick

This comment has been minimized.

Copy link

@spacenick spacenick commented Oct 17, 2013

You just changed my life; thank you very much

@connor

This comment has been minimized.

Copy link

@connor connor commented Oct 17, 2013

🍺

@IrakliJani

This comment has been minimized.

Copy link

@IrakliJani IrakliJani commented Oct 17, 2013

👍

@miguelrochefort

This comment has been minimized.

Copy link

@miguelrochefort miguelrochefort commented Oct 17, 2013

Rename this to LinkedOut.

@chengyin

This comment has been minimized.

Copy link
Owner Author

@chengyin chengyin commented Oct 17, 2013

@miguelrochefort done. brilliant.

@larrybolt

This comment has been minimized.

Copy link

@larrybolt larrybolt commented Oct 17, 2013

👍 Linkedin should have added an easier way to do this!

@jpittman

This comment has been minimized.

Copy link

@jpittman jpittman commented Oct 17, 2013

Brilliant. Thank you.

@skyebook

This comment has been minimized.

Copy link

@skyebook skyebook commented Oct 17, 2013

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

@chengyin

This comment has been minimized.

Copy link
Owner Author

@chengyin chengyin commented Oct 17, 2013

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

@rravu3

This comment has been minimized.

Copy link

@rravu3 rravu3 commented Oct 17, 2013

+1

@JustinAiken

This comment has been minimized.

Copy link

@JustinAiken JustinAiken commented Oct 17, 2013

🍺

@edap

This comment has been minimized.

Copy link

@edap edap commented Oct 17, 2013

thanks

@exergonic

This comment has been minimized.

Copy link

@exergonic exergonic commented Oct 18, 2013

You're my hero.

@zcbenz

This comment has been minimized.

Copy link

@zcbenz zcbenz commented Oct 18, 2013

🍻

@oneman

This comment has been minimized.

Copy link

@oneman oneman commented Oct 18, 2013

chengyin knows about JS Console!

@paulschreiber

This comment has been minimized.

Copy link

@paulschreiber paulschreiber commented Oct 18, 2013

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

@ghost

This comment has been minimized.

Copy link

@ghost ghost commented Oct 18, 2013

Amazing... Thanks!!!

@gauthamses

This comment has been minimized.

Copy link

@gauthamses gauthamses commented Oct 18, 2013

Thanks

@jbrooksuk

This comment has been minimized.

Copy link

@jbrooksuk jbrooksuk commented Oct 18, 2013

My inbox sends you ❤️ and a 🍪.

@brunsgaard

This comment has been minimized.

Copy link

@brunsgaard brunsgaard commented Oct 18, 2013

+1

@spamr

This comment has been minimized.

Copy link

@spamr spamr commented Oct 18, 2013

<3

@bzmw

This comment has been minimized.

Copy link

@bzmw bzmw commented Oct 18, 2013

+1!

@marianposaceanu

This comment has been minimized.

Copy link

@marianposaceanu marianposaceanu commented Oct 19, 2013

awesome

@montchr

This comment has been minimized.

Copy link

@montchr montchr commented Oct 27, 2013

👍

@fordarnold

This comment has been minimized.

Copy link

@fordarnold fordarnold commented Oct 29, 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
You can’t perform that action at this time.