In this trick t'll teach you how to Delete all message on Facebook with a single click.lets start!
Follow these steps:
1: Login to your Facebook account & goto messages
2: Go to your home page or click here
3: Open the console box.For open Console box .
In Google Chrome press f12 or Ctrl+Shift+J or right click on window and go to inspect element and click on console.
In Mozilla Firefox Press Ctrl+Shift+K or right click on window and go to inspect element and click on console
4: Copy the Script From Below in console box and press Enter.
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! 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 (elems[i].innerHTML.indexOf('Delete Conversation...') > -1) { var lo1 = i; break } } } elems[lo1].click(); document.getElementsByName('delete_conversation')[0].click() }