Last active
February 6, 2020 02:47
-
-
Save qt91/c875cdaf1c583278ff976962a60856e4 to your computer and use it in GitHub Desktop.
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
// Code xóa tất cả các contact trong chatwork được thực thi | |
// F12 và paste vào tab console => thận trọng khi enter | |
function deleteChatwork(){ | |
$('#_openContactWindow > span.globalHeaderNavItem__button').click(); | |
$('#_contactWindowTabMyContact').click(); | |
$('#_contactWindowBox li').each(function( index ) { | |
$.post( "https://www.chatwork.com/gateway/delete_contact.php?myid="+MYID+"&_v=1.80a&_av=5&ln=en&aid="+$(this).attr('data-aid') ,{pdata:JSON.stringify({"_t":ACCESS_TOKEN})}, function( data ) { | |
console.log(data); | |
}); | |
}); | |
} | |
deleteChatwork(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment