Skip to content

[Request] Userscript version #51

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
rklos opened this issue Oct 29, 2022 · 1 comment
Open

[Request] Userscript version #51

rklos opened this issue Oct 29, 2022 · 1 comment

Comments

@rklos
Copy link

rklos commented Oct 29, 2022

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
Copy link

gil commented Jan 1, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants