Skip to content

Instantly share code, notes, and snippets.

@koumaza
Created November 11, 2021 16:48
Show Gist options
  • Save koumaza/98d994c4e1573c67e47ab6edaf697b0d to your computer and use it in GitHub Desktop.
Save koumaza/98d994c4e1573c67e47ab6edaf697b0d to your computer and use it in GitHub Desktop.
const a = () => {
if (document.querySelector(`div[data-testid="unlike"]`)) {
window.scroll(0,999999999999);
[...document.querySelectorAll(`div[data-testid="unlike"]`)].map(e=>e.click())
a()
} else location.reload()
}
a()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment