Skip to content

Instantly share code, notes, and snippets.

@Konark-Web
Created July 8, 2020 10:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Konark-Web/d7772469b3471fbc713b00afbcb09b12 to your computer and use it in GitHub Desktop.
Save Konark-Web/d7772469b3471fbc713b00afbcb09b12 to your computer and use it in GitHub Desktop.
var result = "\n";
var INTERVAL = window.setInterval(function() {
window.clearInterval(INTERVAL);
var items = document.querySelectorAll('#repost_view_dialog .userContentWrapper');
for (var i=0; i < items.length; ++i)
{
var account = items[i].querySelector('.fwb.fcg > a');
result += account.textContent + '\n';
}
console.log(result);
}, 700);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment