Anon 01/20/2024 (Sat) 18:01 No.9407 del
(108.67 KB 1024x1024 twibooru-2938753.jpg)
(124.53 KB 1096x747 twibooru-340940.jpg)
2012 video not in TPA - "[PMV] Mercy" (Kanye West):
http://invidious.g4c3eya4clenolymqbpgwz3q3tawoxw56yhzk4vugqrl6dtu3ejvhjid.onion/watch?v=-NzuP43K7Bs
- "I'm in that two-seat Lambo with your girl she tryna jerk me."
- from a pony-focused channel

>>9382
>view video list of a channel > click on html divs regarding video IDs that I want to download > IDs keep getting appended to clipboard with " " or "\n" delimiter.
Didn't see an extension to do that, so I made this basic userscript which does essentially the same thing:
// ==UserScript==
// @name        get links
// @namespace   Violentmonkey Scripts
// @match       https://iv.ggtyler.dev/*
// @version     2024-01-20T18:00:13.379922562Z
// ==/UserScript==
// thanks https://stackoverflow.com/questions/19846078/
console.stdlog = console.log.bind(console);
console.logs = [];
console.log = function(){
    console.logs.push(Array.from(arguments));
    console.stdlog.apply(console, arguments);
}

// mouseover=log link
links = document.getElementsByTagName("a");
for (var i = 0; i < links.length; i++) {
  document.getElementsByTagName("a")[i].addEventListener("mouseover", function() {
    console.log(this.href);
  });
}

// https://developer.mozilla.org/en-US/docs/Web/API/Element/keydown_event
// https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/keyCode
document.addEventListener("keydown", (event) => {
//press RightShift to get mouseover-ed links
  if (event.isComposing || event.keyCode === 16) {
    alert(console.logs.toString());
    return;
  }
});