Skip to content
Create a gist now

Instantly share code, notes, and snippets.

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

You mispelled 2. You may need to login.

@chengyin
Owner

Thanks @brianherman, fixed.

@erigentry

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

@rileyteige

My inbox thanks you.

@chamblin

Awesome.

@niveditc

Thanks :D Good job!

@rordaz
rordaz commented Oct 17, 2013

tHANKS !

@dillera
dillera commented Oct 17, 2013

thx

@jchatard

Awesome! Thanks!

@geekgonecrazy

Sweet! Thanks!

@emadow
emadow commented Oct 17, 2013

+1

@thoughtpalette

Thanks!

@nvk
nvk commented Oct 17, 2013

+1

@javajosh

Nicely done. Handy.

@spacenick

You just changed my life; thank you very much

@connor
connor commented Oct 17, 2013

:beer:

@miguelrochefort

Rename this to LinkedOut.

@chengyin
Owner

@miguelrochefort done. brilliant.

@larrybolt

:+1: Linkedin should have added an easier way to do this!

@jpittman

Brilliant. Thank you.

@skyebook

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

@chengyin
Owner

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

@rravu3
rravu3 commented Oct 17, 2013

+1

@edap
edap commented Oct 17, 2013

thanks

@thebillywayne

You're my hero.

@zcbenz
zcbenz commented Oct 18, 2013

:beers:

@oneman
oneman commented Oct 18, 2013

chengyin knows about JS Console!

@paulschreiber

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

@HackTheDay

Amazing... Thanks!!!

@gauthamses

Thanks

@jbrooksuk

My inbox sends you :heart: and a :cookie:.

@brunsgaard

+1

@spamr
spamr commented Oct 18, 2013

<3

@bzmwillemsen

+1!

@dakull
dakull commented Oct 19, 2013

awesome

@montchr
montchr commented Oct 27, 2013

:+1:

@fordarnold

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
Something went wrong with that request. Please try again.