Skip to content

Instantly share code, notes, and snippets.

@ScriptKiddie1337
Forked from amritsinghbains/removeTheConvo.js
Created July 27, 2018 16:25
Show Gist options
  • Save ScriptKiddie1337/733866702c8c8377c4fc9dfd9dfc353b to your computer and use it in GitHub Desktop.
Save ScriptKiddie1337/733866702c8c8377c4fc9dfd9dfc353b to your computer and use it in GitHub Desktop.
This scripts is for lazy people who want to get rid of all LinkedIn messages at once. This works with the latest LinkedIn 2018. Tested on 15th April 2018
var removeTheConvo = function()
{
try{
$(".msg-thread__topcard-btn--icon").click();
setTimeout(function(){
$(".msg-topcard__full-width-action-button.delete").click();
setTimeout(function(){
$(".confirm-delete-btn").click();
setTimeout(function(){
removeTheConvo();
}, 300);
}, 300);
}, 300);
}catch(err){
setTimeout(function(){
removeTheConvo();
}, 1000);
}
};
removeTheConvo();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment