Last active
December 1, 2022 17:47
-
-
Save mehmetkurt/49b27fab6b43bcb76c15105d609e309d to your computer and use it in GitHub Desktop.
LinkedIn.com Remove All Messages : LinkedIn.com Hack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Open Chrome Developer Tools | |
Select Console Tab | |
Paste the following code | |
and press the Enter! | |
Subscribe Youtube Channel : https://www.youtube.com/codeislifes | |
*/ | |
var removeMessages = function () { | |
let messageListContainer = document.querySelector('.msg-conversations-container__conversations-list.list-style-none.ember-view'); | |
messageListContainer.scrollTo(0, messageListContainer.scrollHeight); | |
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 () { | |
removeMessages(); | |
}, 300); | |
}, 300); | |
}, 300); | |
} catch (err) { | |
setTimeout(function () { | |
removeMessages(); | |
}, 1000); | |
} | |
}; | |
removeMessages(); |
VM492:3 Uncaught TypeError: Cannot read properties of null (reading 'scrollTo')
at removeMessages (<anonymous>:3:26)
at <anonymous>:23:1```
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you very much for the search of such a script. Good work