There is a different section in this code that you need to know. Let's say you have an important message and you want to skip it and delete all of the other messages. To skip the first message, you can change the number 0 in the section kac_mesaj_at = 0; where kac_mesaj_at is the first line of the code. For example, you can continue to skip the first conversation, 1 to skip the first two conversations, 2 to skip the first conversation.
When some messages delete the sending user account, the messages are not deleted. In this case, you can skip the message by increasing the number 1 As mentioned above.
DM Deletion Code
var kac_mesaj_atla = "0";
tum_dm_sil = setInterval(function(){
$(".DMInbox > li > .DMInboxItem")[kac_mesaj_atla].click();
$(".u-textUserColorHover.dropdown-toggle.js-tooltip.js-dropdown-toggle")[0].click();
$(".dm-conversation-actions").find(".js-actionDeleteConversation>button.dropdown-link")[0].click();
if($("#confirm_dialog").css("display") === "block"){
$("#confirm_dialog_submit_button")[0].click();
$("#confirm_dialog").addClass("visuallyhidden");
}
},1000);
To apply this code, activate the window with all conversations. So click on the messages link from the top left,
If your browser is Chrome, CTRL+SHIFT+j, Firefox, CTRL+SHIFT+K.
On the console tab in the new section that opens, paste the code that you copied into the section, and then click Enter.
All conversations will be deleted one by one, except for those you skipped. If you get Server error, refresh the page and repeat the operation
Batch DM erase code in Twitter
4/
5
Oleh
demo