7 ms·
Huh? Userscripts are dead according to author, but I apparently never got the notice because I have about a dozen of those things installed right now. Three of
by grishka 4y ago
Huh? Userscripts are dead according to author, but I apparently never got the notice because I have about a dozen of those things installed right now. Three of them are for YouTube because it's this much annoying as is.
- abvdj2 4y agoWhat do your user scripts do if you don't me asking? On a site note: Been looking for one to show reccomendations always based on simmiliar vids, not my recently watched and whatever the black box algorithm is offering me. Unfortunately I never figured out how do it properly, since the position of the element seems to be random and sometimes straight up missing.
- grishka 4y agoThe YouTube ones? 1. Prevents channel page video from auto-playing (not mine) 2. Removes the stupid custom scrollbar that takes up actual pixels on my screen at all times 3. Automatically sets highest available video quality by clicking through the quality menu so I don't have to And those are in addition to SponsorBlock and uBlock Origin extensions.
- incangold 4y agoThe one that switches off the comments section makes the platform quite a bit more pleasant
- ta8903 4y agoI use one to redirect youtube shorts pages to the regular youtube UI. Also one for old.reddit.
- zebracanevra 4y agoI made one for youtube that moves the seek bar below the video, instead of on top of the video. In addition it removes the gradient etc. I've always hated how it covered up the content. (pure css, but still)
- pjerem 4y agoThey aren’t dead but with more and more build systems that obfuscate everything in the page, including CSS classes and IDs, it’s sometimes hard to do something really useful.
- saurik 4y agoWould you mind giving me an example of something you've wanted to do that is really hard (or even nearly impossible) due to the these issues (so I have a standing concrete challenge case)?
- switch007 4y agoTrying to block Google’s “people also search for” div (when you navigate back to the search results page) is not easy IIRC
- potamic 4y agoYou can try these uBlock filters. Difference is night and day www.google.com##div[role="heading"]:has-text(/^People also ask$/):upward(5) www.google.com##span:has-text(/^People also ask$/):upward(5) www.google.com##div[role="heading"]:has-text(/^Cast$/):upward(5) www.google.com##span:has-text(/^Cast$/):upward(5) www.google.com##h3:has-text(/^Videos/):upward(5) www.google.com##h3:has-text(/^Images/):upward(5) www.google.com##div[role="heading"]:has-text(/^People/):upward(5) www.google.com##span:has-text(/^People/):upward(5) www.google.com##h4:has-text(/^People/):upward(5) www.google.com##span:has-text(Related searches):upward(5) www.google.com##span:has-text(/^Latest/):upward(4) www.google.com##h3:has-text(/^Top stories/):upward(6) www.google.com##div:has-text(/^Trailers/):upward(4) www.google.com##g-scrolling-carousel
- dceddia 4y agoThis thing drives me nuts! It’s always popping up JUST at the right time to catch my click when I’m aiming for the second search result. It’s been that way for long enough now that I’ve started to assume it’s like that on purpose, just to keep you from leaving.
- marttt 4y ago+1, I use somebody's Greasemonkey script to keyboard-navigate the Gmail simple HTML view. Very handy.
- rektide 4y agoMany sites are turning on CSP, a web security capability which lets sites block loading content from anywhere they don't allowlist. Userscripts will run, but if they try to load any content from elsewhere, that breaks. So, for example, the Hypothes.is extension wont load. Affected sites keep growing. https://twitter.com https://twitter.com turned on CSP many years ago.
- aendruk 4y agoThis is such a silly problem to have. User agents that want an exception to a policy are free to make one.
- rektide 4y agoThe mainstream browsers & spec authors sneer at & detest userscripts, wish they'd never been a thing. https://github.com/w3c/webappsec-csp/issues/444 https://github.com/w3c/webappsec-csp/issues/444 I agree. This is simple & stupid a problem. It's grossly anti-user. But today, security rules, and security sees all the misdeeds of users, and those who would prey on them, and they have no emapathy left for creativity and fun. There's no moral-value-party left anywhere that defends user freedom, that is pro end-user-hacking. The Manifest V3 (MV3) catastrophe is still scheduled for 4 months out, even though there is still only 1/3rd the work done thay it would take to allow GreaseMonkeyTamperMonkey/et-cetera to live. The new browsers are actively unwinding power & possibility, forever trying to undo the permissiveness that it had (ex: CORB, and now ORB). The standards authors & browser makers are infected with deep deep fear. Certainty & closedness is winning.
- josephcsible 4y agoKeep in mind that all of the mainstream browsers are funded by companies that make money off of advertising, so you should always look for ulterior motives from them.
- ecef9-8c0f-4374 4y agoMore and more sites use "Content Security Policy" and prevent javascript: from working.