Skip to content

Instantly share code, notes, and snippets.

@atomi
Created March 19, 2021 17:11
Show Gist options
  • Save atomi/35da716995395b48701cfbb3bace2594 to your computer and use it in GitHub Desktop.
Save atomi/35da716995395b48701cfbb3bace2594 to your computer and use it in GitHub Desktop.
flux bookmarklette
javascript:(
function(){
var urls = document.getElementsByTagName('a');
var yurls = [];
for (url in urls) { if (urls[url].href && urls[url].href.includes("youtube.com")) { yurls.push(urls[url].href) } }; prompt("Copy to clipboard: Ctrl+C, Enter", yurls.join(" \n")); }());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment