Skip to content

Instantly share code, notes, and snippets.

Created October 29, 2015 15:56
Show Gist options
  • Save anonymous/4469ffb2179692e35cbe to your computer and use it in GitHub Desktop.
Save anonymous/4469ffb2179692e35cbe to your computer and use it in GitHub Desktop.
archive airbnb messages via dev console
function archiveMsgs() {for (i=0; i< $(".js-archive-thread").length; i++){ $($(".js-archive-thread")[i]).trigger("click");}}
archiveMsgs();setTimeout(function(){console.log("cleared");if($("li.next_page a").length){window.location.reload();}},2000);
@danman01
Copy link

add to ma acct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment