Skip to content

Instantly share code, notes, and snippets.

@oneeyedman
Created November 15, 2022 10:03
Show Gist options
  • Save oneeyedman/c3a484474d2324543b2d91d6dfc15f52 to your computer and use it in GitHub Desktop.
Save oneeyedman/c3a484474d2324543b2d91d6dfc15f52 to your computer and use it in GitHub Desktop.
function getShared() {
const items = [...document.querySelectorAll('.tyTrke.M3pype')]
.filter(item => item.querySelector('[data-tooltip="Shared"]'))
.map(item => item.textContent.trim());
console.log(items.join('\n'))
}
getShared();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment