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:
// 1. Go to page
// 2. You may need to login
// 3. Open JS console
// ([How to?](
// 4. Copy the following code in and execute
// 5. No more emails
// Bookmarklet version:
$('.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.


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.




Thanks :D Good job!

rordaz commented Oct 17, 2013


dillera commented Oct 17, 2013



Awesome! Thanks!


Sweet! Thanks!

emadow commented Oct 17, 2013




nvk commented Oct 17, 2013



Nicely done. Handy.


You just changed my life; thank you very much

connor commented Oct 17, 2013





Rename this to LinkedOut.


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


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

rravu3 commented Oct 17, 2013




edap commented Oct 17, 2013



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


Amazing... Thanks!!!




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



spamr commented Oct 18, 2013




dakull commented Oct 19, 2013


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