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

This comment has been minimized.

Show comment Hide comment
@brianherman

brianherman Oct 17, 2013

You mispelled 2. You may need to login.

You mispelled 2. You may need to login.

@chengyin

This comment has been minimized.

Show comment Hide comment
@chengyin

chengyin Oct 17, 2013

Thanks @brianherman, fixed.

Owner

chengyin commented Oct 17, 2013

Thanks @brianherman, fixed.

@erigentry

This comment has been minimized.

Show comment Hide comment
@erigentry

erigentry Oct 17, 2013

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

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.

Show comment Hide comment
@d3mcfadden

d3mcfadden Oct 17, 2013

๐Ÿ‘

๐Ÿ‘

@rileyteige

This comment has been minimized.

Show comment Hide comment
@rileyteige

rileyteige Oct 17, 2013

My inbox thanks you.

My inbox thanks you.

@chamblin

This comment has been minimized.

Show comment Hide comment
@chamblin

chamblin Oct 17, 2013

Awesome.

Awesome.

@niveditc

This comment has been minimized.

Show comment Hide comment
@niveditc

niveditc Oct 17, 2013

Thanks :D Good job!

Thanks :D Good job!

@rordaz

This comment has been minimized.

Show comment Hide comment
@rordaz

rordaz Oct 17, 2013

tHANKS !

rordaz commented Oct 17, 2013

tHANKS !

@dillera

This comment has been minimized.

Show comment Hide comment
@dillera

dillera Oct 17, 2013

thx

dillera commented Oct 17, 2013

thx

@jchatard

This comment has been minimized.

Show comment Hide comment
@jchatard

jchatard Oct 17, 2013

Awesome! Thanks!

Awesome! Thanks!

@geekgonecrazy

This comment has been minimized.

Show comment Hide comment
@geekgonecrazy

geekgonecrazy Oct 17, 2013

Sweet! Thanks!

Sweet! Thanks!

@emadow

This comment has been minimized.

Show comment Hide comment
@emadow

emadow Oct 17, 2013

+1

emadow commented Oct 17, 2013

+1

@thoughtpalette

This comment has been minimized.

Show comment Hide comment
@thoughtpalette

thoughtpalette Oct 17, 2013

Thanks!

Thanks!

@nvk

This comment has been minimized.

Show comment Hide comment
@nvk

nvk Oct 17, 2013

+1

nvk commented Oct 17, 2013

+1

@javajosh

This comment has been minimized.

Show comment Hide comment
@javajosh

javajosh Oct 17, 2013

Nicely done. Handy.

Nicely done. Handy.

@spacenick

This comment has been minimized.

Show comment Hide comment
@spacenick

spacenick Oct 17, 2013

You just changed my life; thank you very much

You just changed my life; thank you very much

@connor

This comment has been minimized.

Show comment Hide comment
@connor

connor Oct 17, 2013

๐Ÿบ

connor commented Oct 17, 2013

๐Ÿบ

@iJaniashvili

This comment has been minimized.

Show comment Hide comment
@iJaniashvili

iJaniashvili Oct 17, 2013

๐Ÿ‘

๐Ÿ‘

@miguelrochefort

This comment has been minimized.

Show comment Hide comment
@miguelrochefort

miguelrochefort Oct 17, 2013

Rename this to LinkedOut.

Rename this to LinkedOut.

@chengyin

This comment has been minimized.

Show comment Hide comment
@chengyin

chengyin Oct 17, 2013

@miguelrochefort done. brilliant.

Owner

chengyin commented Oct 17, 2013

@miguelrochefort done. brilliant.

@larrybolt

This comment has been minimized.

Show comment Hide comment
@larrybolt

larrybolt Oct 17, 2013

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

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

@jpittman

This comment has been minimized.

Show comment Hide comment
@jpittman

jpittman Oct 17, 2013

Brilliant. Thank you.

Brilliant. Thank you.

@skyebook

This comment has been minimized.

Show comment Hide comment
@skyebook

skyebook 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.

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.

Show comment Hide comment
@chengyin

chengyin Oct 17, 2013

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

Owner

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.

Show comment Hide comment
@rravu3

rravu3 Oct 17, 2013

+1

rravu3 commented Oct 17, 2013

+1

@JustinAiken

This comment has been minimized.

Show comment Hide comment
@JustinAiken

JustinAiken Oct 17, 2013

๐Ÿบ

๐Ÿบ

@edap

This comment has been minimized.

Show comment Hide comment
@edap

edap Oct 17, 2013

thanks

edap commented Oct 17, 2013

thanks

@thebillywayne

This comment has been minimized.

Show comment Hide comment
@thebillywayne

thebillywayne Oct 18, 2013

You're my hero.

You're my hero.

@zcbenz

This comment has been minimized.

Show comment Hide comment
@zcbenz

zcbenz Oct 18, 2013

๐Ÿป

zcbenz commented Oct 18, 2013

๐Ÿป

@oneman

This comment has been minimized.

Show comment Hide comment
@oneman

oneman Oct 18, 2013

chengyin knows about JS Console!

oneman commented Oct 18, 2013

chengyin knows about JS Console!

@paulschreiber

This comment has been minimized.

Show comment Hide comment
@paulschreiber

paulschreiber Oct 18, 2013

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

"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.

Show comment Hide comment
@ghost

ghost Oct 18, 2013

Amazing... Thanks!!!

ghost commented Oct 18, 2013

Amazing... Thanks!!!

@gauthamses

This comment has been minimized.

Show comment Hide comment
@gauthamses

gauthamses Oct 18, 2013

Thanks

Thanks

@jbrooksuk

This comment has been minimized.

Show comment Hide comment
@jbrooksuk

jbrooksuk Oct 18, 2013

My inbox sends you โค๏ธ and a ๐Ÿช.

My inbox sends you โค๏ธ and a ๐Ÿช.

@brunsgaard

This comment has been minimized.

Show comment Hide comment
@brunsgaard

brunsgaard Oct 18, 2013

+1

+1

@spamr

This comment has been minimized.

Show comment Hide comment
@spamr

spamr Oct 18, 2013

<3

spamr commented Oct 18, 2013

<3

@bzmw

This comment has been minimized.

Show comment Hide comment
@bzmw

bzmw Oct 18, 2013

+1!

bzmw commented Oct 18, 2013

+1!

@marianposaceanu

This comment has been minimized.

Show comment Hide comment
@marianposaceanu

marianposaceanu Oct 19, 2013

awesome

awesome

@montchr

This comment has been minimized.

Show comment Hide comment
@montchr

montchr Oct 27, 2013

๐Ÿ‘

montchr commented Oct 27, 2013

๐Ÿ‘

@fordarnold

This comment has been minimized.

Show comment Hide comment
@fordarnold

fordarnold Oct 29, 2013

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

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