lawrencehook / remove-youtube-suggestions

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

Block "More Videos" when video pauses on non youtube domains #24

Closed SNaushadS closed 2 years ago

SNaushadS commented 4 years ago

I observed that the More Videos block does show up when a YouTube Video is embedded in a non YouTube webpage.

It will be great if this can be blocked as well.

Screenshot 2020-09-24 at 11 36 32 AM

remi-garcia commented 4 years ago

I like that this add-on is kept in ["*://*.youtube.com/*"]. I don't think removing the "More videos" block is possible keeping this restriction.

lawrencehook commented 4 years ago

Good note SNaushadS, but I agree with remi-garcia

SNaushadS commented 4 years ago

i understand what @remi-garcia says. I feel that the extension will serve the purpose even better when this restriction is moved out, Or probably provided as a setting to user. Do let me know your thoughts @emumoo

remi-garcia commented 4 years ago

I am still a novice in this domain (add-on development) but if I understood well, this kind of restriction cannot be user defined but is an overall parameter of the add-on. If I'm right, then I think it would be necessary to have two independent add-ons.

However, it might be possible to provide a workaround: for users that have TamperMonkey or similar it should be possible to propose a script that does what @SNaushadS is suggesting. IMHO it would be a good compromise as the "More videos" box can be closed, thus preventing it to show is not as useful as the rest of this add-on.

lawrencehook commented 2 years ago

I believe this is fixed as of de72e29c65aefead79cb22a48dd0a1f6b5bcc920

Didn't require more permissions! Simply enabling all_frames did the trick