And here’s the improved version!
javascript:void(document.querySelector("video").playbackRate=16)
Comment on Goodbye Youtube and thanks for all the fish
K3zi4@lemmy.world 1 year ago
Firefox + ublock origin is the way forward.
However, as a teacher, my school IT system default browser is chrome, and adverts on YT videos when you’re trying to teach a lesson can really suck all the momentum and attention from the class.
Chrome allows you to save javascript as a bookmark URL called bookmarklets. I’m not so clued up on java, but I found this code that zips through the adverts super quickly. Someone can probably improve on this;
javascript: var v = document.querySelector(‘video’); var t = 16; v.playbackRate = parseFloat(t)
And here’s the improved version!
javascript:void(document.querySelector("video").playbackRate=16)
Champ, I knew someone here would be able to improve on it!
Your school’s IT department should be fired for even downloading Chrome, let alone making it the default browser across the network.
That’s ridiculous.
The browser that’s downloaded by default should be the one that most people want to use and/or have a feature that’s necessary for their job.
Personally, I would just deploy both Chrome and Firefox since there is no real reason not to, except it’s a little bit more work.
I’m not in the US, it’s a local council/regional thing. And most areas here have chromebooks for every student so that’s just become the default, I think. But yes, our IT tends to be a good 10-15 years behind the curve anyway. No money for resources either.
Sadly, that is the case for many companies. They do this because they either leverage the Google Chrome enterprise .admx on Windows or because they rely on Google Workspace which has tight integration with the Chrome browser.
That is unfortunately the same in my case, however, I as a SysAdmin had fought tooth and nail to allow users to choose whichever browser they want and because we have a lot of devs/power users our Firefox usage is 25% on Mac and 17% on Windows. The rest I guess are just marketing :)
Firefox actually has GPO templates(since 2018, starting with Firefox 60 and 61): …mozilla.org/…/customizing-firefox-using-group-po…
I believe Firefox didn’t have an MSI installer before, which might have helped Chrome since MSI files are easier to deploy.
Also Chrome is just what most users are familiar with, so just deploying Chrome is not unusual.
cactusupyourbutt@lemmy.world 1 year ago
for future reference, this is javascript, not java. totally different language
K3zi4@lemmy.world 1 year ago
Ah thanks, like I said, I don’t really know what I’m talking about! Good to know.