Skip to content

Instantly share code, notes, and snippets.

@salif
Created July 16, 2022 21:27
Show Gist options
  • Save salif/ce0544e857650ae69e9cd423f705f4de to your computer and use it in GitHub Desktop.
Save salif/ce0544e857650ae69e9cd423f705f4de to your computer and use it in GitHub Desktop.
Clear Memrise List; Remove all words
var s_a;
function s_f() {
const s_b = document.querySelector('i[data-role="remove"');
if (s_b == undefined) {
clearInterval(s_a);
return;
}
s_b.click();
document.querySelector('a[tabIndex="4000"]').click();
}
s_a = setInterval(s_f, 1000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment