lawrencehook / remove-youtube-suggestions

A browser extension that removes YouTube suggestions, comments, shorts, and more
https://lawrencehook.com/rys/
Mozilla Public License 2.0
379 stars 33 forks source link

Disable video play on hovering #70

Closed remi-garcia closed 1 year ago

remi-garcia commented 1 year ago

On homepage, videos automatically widen and start on mouse hovering.

Could disabling that behavior be added to the add-on?

lawrencehook commented 1 year ago

Thanks for making an issue.

I've tried to implement this in the past with no luck, but I'll give it another go.

remi-garcia commented 1 year ago

If needed I'll try to find time to resolve this issue, thank you for the nice work anyway :)

This might help: https://greasyfork.org/en/scripts/391615-disable-previews-on-youtube-firefox/code https://gist.github.com/matter-it-does/bc3acea114ef3962973de54fba57509a (this option requires to modify cookies, which does not seem to be a great idea for this add-on)

lawrencehook commented 1 year ago

Thanks for the pointers!

I implemented it using the cookie approach.

48581ae1a39b4a3f26f2cb0b74c3b54237f7dff1

Not sure if it will work everywhere, but it works for me

remi-garcia commented 1 year ago

Great, works for me. Thanks!

I though that it would require more permissions to modify a cookie 🤔

Nice job 👍🏼