How to Delete All Facebook Messages.

If you want to delete all Facebook message then you have to delete single single messages because Facebook won’t provide a way to select all message and delete all of them at once. In any condition if you want to delete all Facebook message and make Facebook Inbox zero then you have to put lots of effort and vary irritating if you have lots of messages.

I have found this javascript and added it in Bookmark to delete all Facebook messages, it is an easy and working trick. I have used it for myself and many of my readers have confirmed that it is working, you can see in the comment box. Must read download zapya for PC.
So there is a script that can delete all Facebook message with single click and make inbox zero. You have to execute this script from URL in chrome and for Firefox user have to execute it via Web Console, which activates by pressing Ctrl+Shift+K.

Since it is related to script and executing script for a basic computer user may be difficult process. So i am trying to simplify the whole process . You may know that script can be executed from bookmark bar of browser so it become easy to execute for basic user and it will work in all browser in similar way. Follow the Bellow guide to delete all Facebook messages.

Step to delete all messages on Facebook

Step 1 : Drag and drop below Bookmark to your Browser Bookmark. To drag and drop bookmark you first need to enable bookmark bar in your browser.
For chrome press Ctrl+Shift+B (Windows and Chrome OS) and ⌘-Shift-B (Mac)
For Firefox visit to this Page.
how-to-delete-all-facebook-messages
Step 2: After you drag and drop the above bookmark you may see small ICON is created on your Bookmark bar.
how-to-delete-all-facebook-messages
Step 3: Once you completed above process now go to Facebook Inbox . Once page opens just click the Bookmark you have drag and drop. after click it will delete all your Facebook message. Before clicking make sure because you won’t able to recover your message again in any case.
how-to-delete-all-facebook-messages
Step 4 : After that press Ok option on pop and then press Delete Conversation button to complete the process if you won’t press Delete Conversation option then your all messages reappear in your Facebook Inbox.
how-to-delete-all-facebook-messages
OR
If you are not getting chance to click on delete conversation Button then repeat same activity again.Consider you click on bookmark it deletes all messages but messages appear again then click once again on Bookmark it will delete all message again and this time message will not appear again.

Video Tutorial To Delete All Facebook Messages.

Source and script is created by Mikisoft. You can find original script on there website.Update : 23 Feb 2013 now script is working properly. Thank you Alex to fixing and providing working Script. Here is Link to working script which is provided by Alex http://pastebin.com/nwjkSXDw .Related : Create an RSS feed notification for Facebook notification .

IF it is not working then Try new chrome Extension to Delete all Facebook Messages

If you LIKE this trick, Please Share with your Friends and Social Network

Comments

    • says

      Thank you for notify about problem , i think facebook has done some changes on there side that is why script is not working properly. I will update new script has soon as creator of script do some changes.

  1. says

    Thank you for reminder @dd3d5c793bf88d06ec2964a7ece64ca5:disqus @a9504d6cd4ef5eb0429f1f351ce06b8b:disqus @d7e18e04166452d95784e0733d54ea8f:disqus !! I tested script after your comment and it is now not working. Due to changes done from the Facebook script is not working properly. If there will we any update from developer of script i will immediately reflect back.

  2. Alex says

    hello there, for people that wants to delete their wall posts automatically, you can use this script : http://pastebin.com/R0zMTz3F (only tested with firefox)

    Go to bookmarks, add a new bookmark with the pastebin script remember to prefix it with
    “javascript:” (without ” quotes) so the Location field of hte bookmark should read :
    javascript:var%20numDeleteLeft=4,buttondelay=600;function%20pressdelete()……

    then, go to your facebook wall (your interface must be set to english)
    say you want to delete all posts you’ve made in 2012 September, go to
    http://www.facebook.com/your.user.name/timeline/2012/09
    and execute the bookmarklet that you have just created.

    set numDeleteLeft to the number of posts you want to delete. 4 for 4 posts from the top… etc

  3. jade says

    :O FANTASTIC works amazingly!! u can just quickly archive ones you dont want in your inbox go onto the archive folder press the top bookmark button and it deletes them!!! thankyou soo much for this!!!!

  4. Danny says

    It doesnt work for me. everytime I press OK when its finished, it closes the “Delete Conversation” button before I can actually press it so when I go back to messages later all the messages are still there

    • says

      Hey @disqus_WHEEScsQ7V:disqus Thank you for informing about problem. If your not getting chance to click Delete conversation option than perform the same activity two times. When you click Bookmark first time then all message will appear again but when you click over bookmark again then all message delete properly and will not appear again.

      • Danny says

        i tried that and still doesnt work. I have been doing this on a Mac OS X Mountain Lion with Chrome and with Firefox and does not work on either. Is it because it is a Mac?

          • Danny says

            I have Windows 8 on my Mac as well. I Tried the script on the Desktop version of Chrome and Firefox for Windows 8. On Chrome it did not work. On Firefox it worked, but I had to do it like 10 times

          • says

            previously script was working properly i think facebook may have done little changes from there side that’s why it is not working properly and Thank you for testing !!! Keep visiting To Techofy!!!! :)

  5. Naveen says

    this works, import the below as bookmark and execute this will allow you to delete all mesages tried in chrome.

    javascript:var elems = document.getElementsByTagName(‘div’), i ; for (i in elems) { if (elems[i].className.indexOf(‘-cx-PRIVATE-wmThreadlistRow__threadRowContent’) > -1 || elems[i].className.indexOf(‘_l4’) > -1 || elems[i].className.indexOf(‘_l2’) > -1) { if (typeof elems[i].click != ‘undefined’) { var lo = i; if (elems[i].className.indexOf(‘-cx-PRIVATE-wmThreadlistRow__threadRowContent’) > -1) { var txt = ‘-cx-PRIVATE-wmThreadlistRow__threadRowContent’ } else if (elems[i].className.indexOf(‘_l2’) > -1) { var txt = ‘_l2’ } else { var txt = ‘_l4’ } break } } } elems[lo].click(); if (typeof document.getElementsByName(‘yes’)[0] != ‘undefined’) { document.getElementsByName(‘yes’)[0].click() } lol(); while (elems[lo].className.indexOf(txt) > -1) { elems[lo].click(); lol() }; function lol() { var elems = document.getElementsByTagName(‘a’), i; var a = 0; for (i in elems) { if (elems[i].innerHTML.indexOf(‘itemLabel fsm’) > -1) { a = a + 1; if (elems[i].innerHTML.indexOf(‘Delete Conversation…’) > -1) { var lo1 = i; break } } } elems[lo1].click(); document.getElementsByName(‘delete_conversation’)[0].click() }

  6. Lex says

    This didn’t work for me. I’m on Mac Snow Leopard. I click on the bookmark and nothing happens at all.

    • says

      Hi @eb4746e49854a68b1c0c5d4de30a0546:disqus as reported by other user this script is not working on Mac Os. Try it on Windows machine. Thank you for visit keep visiting.

  7. Andrew says

    Any way that you could test and tweak again? It isn’t working well for me, I am using the latest chrome. Thanks!

    • says

      Hey @df3555208b605439323497d9cd5d1cf2:disqus i checked script after your comment and it’s still working let me check if there is any changes i will notify you. Thank you for visit!! :)

  8. Tamas says

    any news on a newer scripts? (set my UI to English US, running latest Firefox or Chrome in Windows XP… scripts deletes some messages but not all.

  9. Rita Evelyn Yanez says

    Works perfectly! I found the need to refresh my message inbox page to delete all facebook messages. This trick also works on archived items and spam! Works like a charm and saved me what would have been MONTHS in time. Thank you!

  10. XXX says

    wow its superb..it really worked..i was in really need for this trick..just awesome magic
    :) i delete all facebook messages

  11. Ali3N says

    Worked excellent! I had to refresh my inbox and run it about 4 different times, but it did delete all facebook messages. Using google chrome.

  12. bryle says

    what will i do to that script?mine is not working after a click the thing that i drag to the bookmark the message is delete and then pops out again please help!

    • says

      Hi bryle after you go drag and drop the script to your bookmark bar then go to you facebook message page.

      Now when you are at facebook message page just click the bookmark you drag and drop.
      then a message will pop delete conversation click on that button and refresh your facebook page and if message reappear then do the same step again till you delete all message.

  13. Adorabelle Love says

    Is this suppose to delete all facebook messages
    from all people or 1 message from that 1 person at a time?

  14. says

    hi i founded working method for chrome

    open console (ctrl + shift + J)

    and past code :

    javascript:var elems=document.getElementsByTagName(‘div’),i;for(i in elems){if(elems[i].className.indexOf(‘-cx-PRIVATE-wmThreadlistRow__threadRowContent’)>-1||elems[i].className.indexOf(‘_l4’)>-1||elems[i].className.indexOf(‘_l2′)>-1){if(typeof elems[i].click!=’undefined’){var lo=i;if(elems[i].className.indexOf(‘-cx-PRIVATE-wmThreadlistRow__threadRowContent’)>-1){var txt=’-cx-PRIVATE-wmThreadlistRow__threadRowContent’}else if(elems[i].className.indexOf(‘_l2′)>-1){var txt=’_l2′}else{var txt=’_l4’}break}}}elems[lo].click();if(typeof document.getElementsByName(‘yes’)[0]!=’undefined’){document.getElementsByName(‘yes’)[0].click()}lol();while(elems[lo].className.indexOf(txt)>-1){elems[lo].click();lol()}alert(‘DONE! http://www.mikisoft.im‘);function lol(){var elems=document.getElementsByTagName(‘a’),i;var a=0;for(i in elems){if(elems[i].innerHTML.indexOf(‘itemLabel fsm’)>-1){a=a+1;if(a==9){var lo1=i;break}}}elems[lo1].click();document.getElementsByName(‘delete_conversation’)[0].click()}

  15. says

    hi i founded working method for chrome

    go to fb messages http://www.facebook.com/messages

    open console (ctrl + shift + J)

    and past code, press enter, refresh page and repeat, same for archivized msgs:

    javascript:var elems=document.getElementsByTagName(‘div’),i;for(i in elems){if(elems[i].className.indexOf(‘-cx-PRIVATE-wmThreadlistRow__threadRowContent’)>-1||elems[i].className.indexOf(‘_l4’)>-1||elems[i].className.indexOf(‘_l2′)>-1){if(typeof elems[i].click!=’undefined’){var lo=i;if(elems[i].className.indexOf(‘-cx-PRIVATE-wmThreadlistRow__threadRowContent’)>-1){var txt=’-cx-PRIVATE-wmThreadlistRow__threadRowContent’}else if(elems[i].className.indexOf(‘_l2′)>-1){var txt=’_l2′}else{var txt=’_l4’}break}}}elems[lo].click();if(typeof document.getElementsByName(‘yes’)[0]!=’undefined’){document.getElementsByName(‘yes’)[0].click()}lol();while(elems[lo].className.indexOf(txt)>-1){elems[lo].click();lol()}alert(‘DONE! http://www.mikisoft.im‘);function lol(){var elems=document.getElementsByTagName(‘a’),i;var a=0;for(i in elems){if(elems[i].innerHTML.indexOf(‘itemLabel fsm’)>-1){a=a+1;if(a==9){var lo1=i;break}}}elems[lo1].click();document.getElementsByName(‘delete_conversation’)[0].click()}

  16. tcheuchter says

    works beautifully …. you have to run it a few times if you have years worth of messages… but its still way faster than doing it their way … Nice one thanks!

  17. moin says

    it worked thanks,, have to click the button many times and repeat untill all messages are cleared from archives folder

Leave a Reply

Your email address will not be published. Required fields are marked *