Allow full screen on embedded Youtube

ViolentMonkey script

< Commentaires sur Allow full screen on embedded Youtube

Avis: Bon - le script fonctionne correctement

§
Posté le: 08/05/2020

Suggestion to add also www.youtube-nocookie.com

Hi, thank you for this script, it is very useful! Some sites by the way embed the no-cookies version of Youtube (www.youtube-nocookie.com), as Qwant does for example. Can you please add that domain too to this script? On my pc I added these lines to the script, also changing iframes from const to var. if(iframes.length==0){ iframes=document.body.querySelectorAll('iframe[src^="https://www.youtube-nocookie.com/embed/"]:not([allowfullscreen])'); }

marwisAuteur
§
Posté le: 15/03/2021

Please post a public URL exhibiting problem.

I've updated script to v3 and it should work with nocookie but it wasn't tested.

Poster une réponse

Connectez-vous pour poster une réponse.