SamSuka
bigclive
bigclive

patreon


Just gratuitous violence in a #short

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

Just gratuitous violence in a #short

Comments

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

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

For situations like those I have a 4 pole contactor on a long remote release cable. Chonk! Boom.

Mike Page

Yes, it's specifically for desktop users. :\

Martel DuVigneaud

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

Clive, you should sell these as a magic smoke generator!

Michael Gilchrest

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

You NAUGHTY NAUGHTY man you!

Ymir the Frost Giant

Wow! πŸ‘πŸ‘

John Lundgren ~ Acme Fixer

And all of us who are using a smartphone can't F12 or right click.

John Lundgren ~ Acme Fixer

I usually don't complain - but this was a little an anti climax. Next time add some Woffel juice foam :-)

Zeedijk Mike

If the karens see this in California they will report you for air pollution

RICHARD OCKMAN

*Most* components...

Curtis Hoffmann

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

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

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

forgive my ignorance, but how are us innocent ones supposed to use that? ;-)

Stephen Eyles

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

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

Guess this is short enough for the attention span of (Karin) K. S. Nice one

StevenSeegal

Release the magic smoke!

Tim Albers

Things that go *pop* and let out the magic smoke are fun.

Martel DuVigneaud

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

"We like the cars, the cars that go BOOOM!"

Adam McKnight


More Creators