Just gratuitous violence in a #short
Added 2022-10-14 04:24:36 +0000 UTC
I made a new video about this fake fuel saver plug, but then decided to blow it up in a short video by swapping the polarity of the capacitor and drilling some extra vent holes for the boom to come out of.
The case actually contained the blast quite well.
https://youtube.com/shorts/HQNBw5d5lyY?feature=share
You could probably just run document.querySelectorAll('a#thumbnail, a#video-title').forEach((e) => {e.href = e.href.replace('/shorts/', '/watch?v=')}) and it would be fine, but I wrote it to be very (overly?) specific just to avoid the unlikely possibility of breaking other links.
Martel DuVigneaud
2022-10-15 20:34:11 +0000 UTC
I'm Gen X too. And yes, it's Javascript.
The specific part that makes a change is the e.href = e.href.replace([...]) It replaces "/shorts/" (YT's shorts video UI) with "/watch?v=" (YT's regular video UI). Everything outside of that is just selecting HTML elements in the DOM and walking through them to find the specific links to modify.
Martel DuVigneaud
2022-10-15 20:25:20 +0000 UTC
For situations like those I have a 4 pole contactor on a long remote release cable. Chonk! Boom.
Mike Page
2022-10-15 20:23:41 +0000 UTC
Yes, it's specifically for desktop users. :\
Martel DuVigneaud
2022-10-15 20:18:52 +0000 UTC
That is interesting. I am a Gen X raised on C but this is Javascript, right? So what exactly does your paste operation do? As in HOW does it take effect?
Cheers.
Mike Page
2022-10-15 20:17:20 +0000 UTC
Clive, you should sell these as a magic smoke generator!
Michael Gilchrest
2022-10-15 04:51:52 +0000 UTC
It was the second go with a much bigger capacitor, and still wasn't as violent as I was hoping. I was wanting the case to blow apart.
Big Clive
2022-10-15 03:21:27 +0000 UTC
You NAUGHTY NAUGHTY man you!
Ymir the Frost Giant
2022-10-14 19:47:05 +0000 UTC
Wow! ππ
John Lundgren ~ Acme Fixer
2022-10-14 17:08:29 +0000 UTC
And all of us who are using a smartphone can't F12 or right click.
John Lundgren ~ Acme Fixer
2022-10-14 17:03:36 +0000 UTC
I usually don't complain - but this was a little an anti climax.
Next time add some Woffel juice foam :-)
Zeedijk Mike
2022-10-14 16:38:06 +0000 UTC
If the karens see this in California they will report you for air pollution
RICHARD OCKMAN
2022-10-14 16:29:04 +0000 UTC
*Most* components...
Curtis Hoffmann
2022-10-14 11:45:19 +0000 UTC
Oh right, I kinda forgot... it only changes the link, not the click handler. You have to middle click or right click and open in new tab/window for it to actually do something useful. Eh, I keep not really wanting to dig into modifying the click handler because that's a whole can of worms.
Martel DuVigneaud
2022-10-14 11:09:46 +0000 UTC
It only modifies the YT shorts links on the current page that you run it on. If you refresh the page the links will be reset to what YT pushes at you.
Martel DuVigneaud
2022-10-14 10:55:18 +0000 UTC
When you have a YT video list page open, you can open the dev tools (F12 in Chrome and Firefox) and click the "console tab" and paste the code in and hit enter.
Martel DuVigneaud
2022-10-14 10:54:10 +0000 UTC
forgive my ignorance, but how are us innocent ones supposed to use that? ;-)
Stephen Eyles
2022-10-14 10:50:13 +0000 UTC
Sorry to disappoint you but most components are fitted with one-way valves; they can only let smoke out. must be to stop them being overpressured, I suppose... ;-)
Stephen Eyles
2022-10-14 10:49:36 +0000 UTC
Love the magic smoke! BigClive, can you use one of your fan units to collect smoke and put it into a different circuit that has also stopped running?
Curtis Hoffmann
2022-10-14 05:38:06 +0000 UTC
Guess this is short enough for the attention span of (Karin) K. S.
Nice one
StevenSeegal
2022-10-14 04:38:27 +0000 UTC
Release the magic smoke!
Tim Albers
2022-10-14 04:36:33 +0000 UTC
Things that go *pop* and let out the magic smoke are fun.
Martel DuVigneaud
2022-10-14 04:32:14 +0000 UTC
I feel obligated to share this, even though it won't change the link here on Patreon. ;) It only works on YT pages to change the shorts links to regular video links.
document.querySelectorAll('ytd-browse #primary #contents').forEach((e) => {
e.querySelectorAll('ytd-video-renderer, ytd-grid-video-renderer').forEach((e) => {
e.querySelectorAll('a#thumbnail, a#video-title').forEach((e) => {e.href = e.href.replace('/shorts/', '/watch?v=')});
});
});
Martel DuVigneaud
2022-10-14 04:31:00 +0000 UTC
"We like the cars, the cars that go BOOOM!"
Adam McKnight
2022-10-14 04:29:00 +0000 UTC