Hello, On Mon, 27 Mar 2017, Patrick Shanahan wrote:
* David Haller <dnh@opensuse.org> [03-27-17 09:17]: [...]
But it asks google servers _for every page you visit_, so you leave a perfect trail of what you are doing. Even better than google, facebook et.al. with cookies and various tracking scripts.
And I do not have to maintain a list (I do for the notorious), but let uMatrix sort them out.
so how do you access youtube with uMatrix?
youtube-dl https://www.youtube.com/watch?v=$ID or clive https://www.youtube.com/watch?v=$ID I can watch while downloading and abort and delete anytime. And I think (haven't tried a while) you can have both feed the DL direct to e.g. vlc or mplayer (oh, that reminds me of trying to plug a "tee" in between :). Or have youtube-dl just output the final URL and then manually feed that to a player. Oh, and you can feed whole playlists to youtube-dl for later watching ;) And *if and when* I want to search etc., I can still allow youtube.com, ytimg.com in uMatrix for that time (only, or permanently if I'd so choose). But usually, it's either some stuff I've bookmarked (e.g. Last Week Tonight), where I wanna grab the latest vid, or some specific URL incl. ID I found somewhere (say twitter) I can just feed that to clive/youtube-dl directly anyway. Or dump it in the browser for the "related" stuff, that does show up without JS. IIRC the only time I need JS on YT is when loading "more" videos, i.e. old stuff that doesn't fit on the first page of the "Videos" page etc. And anyway: DL+watching is so much more comfortable anyway: if you're on a slow line, you basically have no other choice anyway, unless you want to wait every 5s for 10s plus... Or so. And if you're on a fast (un-volume-metered) line, dump it to a temp-dir, watch at your leisure, delete or keep, or whatever. And remember: streaming == downloading, just without saving more than some buffer (that might be too small to play nicely, causing "loading" pauses). So, I prefer to just download (stream to disc) and watch the still-being-saved stuff with a reasonable buffer (and keep or watch'n'delete or abort'n'delete). Or watch later. HTH & HAND, -dnh PS: in some way or other, there's few vids I haven't been able to "save to disc". See above: Streaming == dl + playing. At _some point_, EVERY stream has to be delivered, cached and thus can be theoretically just as well be stored ;) There's some few really broken sites and those with DRM out there though, but theoretically their stream could be saved too. At some point, I (and others like the youtube-dl devs) give up, it's just too much hoops to jump through. And mind you, I've crafted up some perl-scripts for the one or other site on my own, getting to know HTML::TreeBuilder::XPath was reeeally helpful ;) Add LWP, and you have a basic downloader rather easy, once you've found the XPath to the (URL to the) vid ;) E.g.: my $url = $tree->findnodes( '//div[@id="player"]/div[@class="noFlash"]/a/attribute::href' ); Fun fact: ISTR that youtube-dl supports that site too, as I found out later on ;) But me (re-)learning that XPath stuff etc. is so useful generally while munging websites, it's worth keeping and probably updating if neccessary. Helps munging stuff in my browser too (via Scriptish / formerly GreaseMonkey). Though I'm not sure I've used XPath there. But I used it somewhere else ;) Apropos: I use scriptish to nice-up some regular visited sites, a couple of CSS tweaks here (e.g. on the IMDB keywords and cast pages), a couple tweaks there[1] (removing annoying overlays with "social-media buttons")... So much so, that I've an shortcut function for "remove me" in those scripts... Too bad at least one site is quite broken. Having the same element "id" multiple times ist just broken, then not assigning any ids or even classes to "relevant" elements, but just generating div-tags-soups via PHP ... "web-designers"... I mentioned that "specie" already, didn't I? Basically, their PHP spits out a tag soup as if that's then been eaten by an Ankh-Morpork street-dog-mongrel, barfed out, et by an Ankh-Morpork rat and barfed out again and only then fed into my browser. *yuk* Well, albeit, it's a complexish site with tons of stuff out of a DB or three, but structure? *whut's thot???* [1] coming from the site, not directly from FB etc. -- The question I have is if you take the 'bugs/spyware/IE/Media player/ other undesirables' (you were talking about 'fixing' it) out of Windows, is it going to be worth using? Would it then fit on a single density floppy? -- J. Ramsey [2004/02/13] -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org