My account had 'nomail' set for a while so I can't reply to the original, so I'm replying over Enrico's message.
On 23.09.2017 10:51, Miroslav Rovis wrote: > >of google's intrusivity; they can put most any spyware in videos, and I'm >looking for the knowhow how to safely deal with Youtube videos, a very hard to >gain knowledge, very advanced... not nearly there, not even in my dreams there >yet... You can work over that by disabling Youtube JS and then adding a plugin to parse the Youtube JS and get the video link. youtube-dl does exactly this (they have a really tiny jsinterp.py file which can extract variables. It doesn't execute any code, and has no control flow). You can bundle the latest version of youtube-dl in an addon which rewrites the YouTube page to contain a simple native browser video and video information only, and then update it every time youtube-dl is updated. This would prevent users to comment, but if they really want to comment they'll need to turn on JS. Or if you're lazy you can redirect youtube to HookTube. --- :^) --- :^) --- :^) --- :^) --- :^) --- :^) --- :^) --- :^) --- https://nextchan.org - https://gitgud.io/m712/blazechan I am awake between 7AM-12AM UTC, hit me up if something's wrong
signature.asc
Description: PGP signature
_______________________________________________ Dng mailing list [email protected] https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
