Remix.run Logo
coldtrait a day ago

This is great. I just asked ChatGPT to convert it into a script that I could use with Violentmonkey.

varenc 17 hours ago | parent [-]

Nice! I still use Greasemonkey and love it.

Relatedly, I have a greasemonkey script[1] that makes Snapchat on web much more usable. I just updated it to include this video fixer logic so now it's easy to scrobble videos and download them.

It uses the MutationObserver API to immediately 'fix' any <video> element added to the page. Really I should just copy you and make a version of it that just does the video fixing but runs on every site. It's crazy how browsers have a nice built in pro-user video element, but that every site intentionally overrides and degrades it...

edit: I went ahead and turned this into a greasemonkey script as well: https://greasyfork.org/en/scripts/531780-universal-video-fix...

[1] https://greasyfork.org/en/scripts/468156-unbreak-snapchat-we...

coldtrait 5 hours ago | parent [-]

That's great. The one site I definitely need it on is instagram whenever I happen to open a reel on web. And I'd like it on reddit because its video player sucks, but it just adds it on top of it so I have now ended up disabling it everywhere else.