Skip to content

Instantly share code, notes, and snippets.

@micahriggan
Created April 3, 2018 00:58
Show Gist options
  • Save micahriggan/7a3a3a0ed0988f8e6abf9faecde8d808 to your computer and use it in GitHub Desktop.
Save micahriggan/7a3a3a0ed0988f8e6abf9faecde8d808 to your computer and use it in GitHub Desktop.
Delete Facebook Videos
for(let p of document.querySelectorAll("[data-tooltip='Edit or Remove']")){p.click()};setTimeout(() => {for(let p of document.querySelectorAll("[data-action-type='delete_video']")){p.click();} setTimeout(() => {for(let p of document.getElementsByClassName('layerConfirm')){p.click();}}, 1000)}, 1000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment