pietervanheijningen / clickbait-remover-for-youtube

Replaces thumbnails and modifies titles of videos on youtube.com
https://chrome.google.com/webstore/detail/clickbait-remover-for-you/omoinegiohhgbikclijaniebjpkeopip
MIT License
371 stars 24 forks source link

[Request] Userscript version #51

Open rklos opened 2 years ago

rklos commented 2 years ago

Hi, I love your clickbait remover, but #48 is still open (since February) and we still have no option to install this extension on Safari. Maybe it will be a good idea to create a Userscript version of this extension so everyone can install it on their browser of choice. Extensions supporting userscripts are avaliable on all modern browsers (GreaseMonkey, Tampermonkey, ViolentMonkey), and many developers choose this as an option to install their plugins (for example: https://www.returnyoutubedislike.com, https://betterttv.com).

To build such Userscript you can use your current JS code. You only have to replace Browser Extensions API with some custom HTML and JS to embed extension options into Youtube itself via eg. fancy button with popup menu in top navbar.

gil commented 10 months ago

I gave it a try here just for fun: https://github.com/gil/userscripts/blob/main/youtube-clickbait-reducer.user.js It won't work as well as the extension. Both thumbnails are loaded, there's often a delay, etc. But if you need to use it on mobile or some other browser, it may help.