Skip to content

Instantly share code, notes, and snippets.

@fharbe
Forked from chengyin/linkedout.js
Created October 19, 2013 14:00
Show Gist options
  • Save fharbe/7056250 to your computer and use it in GitHub Desktop.
Save fharbe/7056250 to your computer and use it in GitHub Desktop.
// 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();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment