YT, Firefox, Adblockers and huge lag - Page 1
Forum section: electronics / general

author: SiliconWizard
author_rank: Super Contributor
timestamp: January 16, 2024, 12:40:34 am
content: I hadn't been affected by YT's attempts to curb Adblocking so far. Been using Firefox for a long time, and never saw any issue (at least with the setups and Adblockers I use) until very recently. Just the past week or so.I still do not see any ad and videos are not blocked or suspended, but I noticed the YT web interface has become ultra slow and laggy compared to just a few days earlier still.YT may possibly deploy various strategies in different parts of the world. Dunno. I've read about that kind of sudden lag due to adblocking in various articles in last december, so I'm not the only one noticing.Interestingly, I use Opera on mobile devices, with adblockers too, and didn't notice the same issue with this setup.Anyone else noticed this newfound laggy UI?

author: rdl
author_rank: Super Contributor
timestamp: January 16, 2024, 12:58:09 am
content: They report this on Ars Technica:https://arstechnica.com/gadgets/2024/01/youtube-appears-to-be-reducing-video-and-site-performance-for-ad-block-users/

author: srb1954
author_rank: Super Contributor
timestamp: January 16, 2024, 01:20:12 am
content: Even if you don't have an ad blocker YT seems to delay loading of content immediately after you skip an ad. There is quite often a buffering delay of 3-4 seconds after skipping an ad.I have noticed this for the last couple of months and don't have any buffering delays with any other YT content.

author: SiliconWizard
author_rank: Super Contributor
timestamp: January 16, 2024, 01:32:54 am
content: Here this is a general lag in the whole YT web interface. It's not even just when you watch a video - actually in my case, once a video starts, it plays normally till the end. But everything is laggy, displaying comments, displaying thumbnails in the YT home page, etc. Noticed that when it lags, it takes CPU. So it must be something nasty in JS code, or they manage to bombard adblockers with stuff to process, making them in turn the source of lag - it's not just "network" delays, the lag definitely comes with extra CPU use.

author: AlfBaz
author_rank: Super Contributor
timestamp: January 16, 2024, 01:48:24 am
content: I believe Louis Rossmann just released a video about it

author: BrianHG
author_rank: Super Contributor
timestamp: January 16, 2024, 02:32:20 am
content: With or without ad blockers, there have been random delays for years now. (Not counting the proven found deliberate 5-10 seconds delay code introduced for a few months at the end of last year) The current delays are just random traffic errors or potentially problems with how the AD-Blocker works itself, otherwise, I wouldn't be able to play videos faithfully over the past ~4 months in FireFox.As for things getting worse, try playing YT videos in a 'Private Window' and see if anything improves.Note that you will not be able to comment or leave a thumbs up/down.Also, make sure your AD-blocker is configured to be enabled for private-windows.

author: chickenHeadKnob
author_rank: Super Contributor
timestamp: January 16, 2024, 03:08:39 am
content: Quote from: SiliconWizard on January 16, 2024, 01:32:54 amI noticed exactly this. All interface elements super slow. I run FireFox/linux 121.0.1. I thought it might be some crappy javascript hogging cpu, didn't investigate further and simply reset my machine and the problem cleared. My machine had been up for about two weeks.

author: SiliconWizard
author_rank: Super Contributor
timestamp: January 16, 2024, 03:22:12 am
content: Quote from: AlfBaz on January 16, 2024, 01:48:24 amYes:

author: SiliconWizard
author_rank: Super Contributor
timestamp: January 16, 2024, 03:36:58 am
content: And Louis makes a good point, whatever you think about YT's battle against adblockers, their move to "silently" make it worse for adblock users without even any explicit mention of it on the website is completely dumb. As a "normal" user, you have absolutely no means of knowing for good that actually paying them or watching their stupid ads will get you a better experience. People are just talking about it as a rumor, and them throwing in hints here and there. For all you know, it may just be speculation, a problem with your ISP, a temporary problem with YT, or a problem with your browser. That's just a wicked business move. If they weren't in a situation of near-monopoly, they would never pull off something like that.But with this, just like with the way they censor videos and comments, it's questionable move after questionable move, with a 100% lack of transparency.Just put a fricking banner over every YT web page and video if you detect an adblocker, if you have balls.Then we'll know clearly what it's all about.

author: Psi
author_rank: Super Contributor
timestamp: January 16, 2024, 03:39:42 am
content: yeah, i've noticed this too, extreme lag, mainly when trying to type a comment into Youtube.but loading pages was also a bit slow.The annoying thing is that I have Youtube Premium but i guess their adblocker detection doesn't take this into account.Disabled addblocker and the lag disappeared.

author: BrianHG
author_rank: Super Contributor
timestamp: January 16, 2024, 06:35:20 am
content: YT is now wasting my battery power on my laptop and makes it's CPU fan run at full speed.No more 9 hour battery life watching Youtube videos as it's power consumption has gone through the roof.Only a few windows open doing nothing and 2 cores are nailed at 100% usage.Only around 45 minute battery life with too many windows open without even playing the videos.Proof Google is against saving the planet's ecology by wasting CPU cycles.I wonder if mac-book runs firefox and if this will kill their +12hour battery life?(Note this occasionally happens when Firefox slows down, but once it begins, only closing and reopening firefox fixes the CPU usage issue)

author: SiliconWizard
author_rank: Super Contributor
timestamp: January 16, 2024, 07:18:10 am
content: Having done some more testing on this, I think it definitely comes down to Javascript code (that of course runs locally) which deliberately slows down some operations, wasting CPU cycles along the way (so not even just clean "waits" that would just suspend execution for a little while.) Nice job. The good news with this is that if it's just JS code running locally, then it should not be too hard to find countermeasures. (And this would be explained by the fact that there is actually little they could do on their "end", as we had discussed in an earlier thread, so they basically have to resort to local "measures". At least, that's my conclusion this far.)Firefox has a profiling feature, you can go to about:processes, and for a given tab, you can have it profile it for 5 s. The profiling is not ultra detailed, but it for sure shows that most of the CPU time is spent on JS execution.Oh, and the JS scripts appear to be downloadable. I've just had a look at a couple - there is one which is called 'scheduler.js', which seemed promising. The source code of it is of course somewhat "obfuscated", but I'm sure some people will be happy to have a closer look. I'm not sure YT have been that smart with all this. Fun.

author: PA0PBZ
author_rank: Super Contributor
timestamp: January 16, 2024, 09:48:36 am
content: If you are using Adblock (Plus), there's a bug that causes this behavior and is currently being worked on:https://gitlab.com/adblockinc/ext/adblockplus/adblockplusui/-/issues/1576#note_1727415603It's not YT and it's not just YT:https://twitter.com/gorhill/status/1746263759495077919

author: tggzzz
author_rank: Super Contributor
timestamp: January 16, 2024, 10:36:06 am
content: Quote from: BrianHG on January 16, 2024, 06:35:20 amYou should thank gurgle for encouraging you to reclaim your lifeNo more look-at-me talking-head videos full of ums/ahs etc that take 30mins of your life before you realise you aren't going to learn anything. Much better to only spend 30s speed-reading text before you realise that.

author: Psi
author_rank: Super Contributor
timestamp: January 16, 2024, 12:12:58 pm
content: Quote from: PA0PBZ on January 16, 2024, 09:48:36 amHm.. true, i am using plus.Seems I was too quick to blamed google.

author: soldar
author_rank: Super Contributor
timestamp: January 16, 2024, 05:30:28 pm
content: I use Brave browser (per Louis Rossman's advice) and have not noticed anything.

author: madires
author_rank: Super Contributor
timestamp: January 16, 2024, 05:49:28 pm
content: No issues with uBlock either. It's just Adblock.

author: Karel
author_rank: Super Contributor
timestamp: January 16, 2024, 06:03:52 pm
content: No problems here with Firefox & uBlock Origin on Linux.

author: pickle9000
author_rank: Super Contributor
timestamp: January 16, 2024, 06:35:12 pm
content: I have no idea if YT is playing around but if I was going to it would live under the auto streaming speed. The error message has lived there forever and most have seen it.

author: nctnico
author_rank: Super Contributor
timestamp: January 16, 2024, 06:55:40 pm
content: Quote from: SiliconWizard on January 16, 2024, 03:36:58 amThat is exactly what Youtube is showing me.... But I don't care. ABP will find a way around eventually. This is another lost battle from the entertainment industry. I've been on internet for about 30 years and the entertainment industry still hasn't stopped people from sharing music. It must have cost them billions of dollars by now. Likely more than the perceived loss of revenue.

author: BrianHG
author_rank: Super Contributor
timestamp: January 16, 2024, 07:58:43 pm
content: Quote from: tggzzz on January 16, 2024, 10:36:06 amI have an unusual form of mild Dyslexia making my reading 4x slower than the normal populous...Also, watching talking heads about things you already know means you are very poorly using youtube.

author: Veteran68
author_rank: Frequent Contributor
timestamp: January 16, 2024, 09:00:33 pm
content: Quote from: Psi on January 16, 2024, 03:39:42 amQuote from: PA0PBZ on January 16, 2024, 09:48:36 amI'm also a YT Premium subscriber and I run ABP as well, but have not really seen any of the issues mentioned. Granted I seldom comment on a video, but I'm on YT literally every single day and it has been performing normally for me. I'm not at home now so can't be sure, but I may have "whitelisted" YT in ABP so it doesn't actually try to block anything there. Maybe that's why?

author: SiliconWizard
author_rank: Super Contributor
timestamp: February 01, 2024, 11:25:00 pm
content: This is a constant battle between YT and Adblockers for now.Yes, Adblock+ was the source of the lag, yes, they released a "fix" that somewhat improved things for a while, but they seem to be back to bad now.I'm pretty sure my hypothesis was right, YT is just trying to bombard adblockers with stuff to process just to make things go to a crawl. So adblockers have to adapt to prevent that, but it becomes increasingly tough not to have any performance impact.The most horrific at the moment is the lag while typing comments. It's fun how YT's countermeasures affect commenting. Is it a byproduct of their countermeasures, or explicitely made to annoy users (assuming that not letting them comment would be what they would find most annoying? who knows what's in their twisted minds.)Anyway, long story short, for anyone who hasn't seen it yet, just look at that:https://support.google.com/youtube/answer/14129599The statement looks pretty clear. It's not just that YT will make the experience "suboptimal" for users of adblockers - it's that they claim it's a violation of their TOS. This is a pretty strong statement IMHO.Quote

author: Karel
author_rank: Super Contributor
timestamp: February 02, 2024, 07:28:52 am
content: I still don't have any problems watching youtube. No delays, no adds.But I don't login and I don't comment (I don't even have an account) andI use Firefox & Ublock Origin & Privacy Badger & Cookie Autodelete on top of GNU/Linux.

author: chickenHeadKnob
author_rank: Super Contributor
timestamp: February 02, 2024, 09:37:03 am
content: Quote from: SiliconWizard on February 01, 2024, 11:25:00 pmI am convinced that youtube has an "adaptive annoyance" algorithm. That is they monitor keyboard and mousing to look for negative reactive events and specifically how fast they occur.The reason I say this is that I have noticed sometimes they ask me to rank "how has your add experience been lately" whilst at the same time filling the add stream with adds they know will annoy me, partly through how fast I am to skip but also they know everyone hates these particular adds. I am taking about interminably long investment, crypto or medical scam adds. You know the type, "try this one weird trick/secret and you will make millions" but they go on and on and never get to what they are selling. For curiosities sake I let one investment scam play and it was still going an hour later! still not finished, still no idea exactly what was going to be pitched at me. I think it was for a mining stock prospectus. Oh and additional add type is for these crappy games. I have an android phone. Google damn well knows I don't play any games and for that matter don't ever download paid apps from the google play store.Then after about a week to 10 days of annoying me youtube starts to heavily pitch premium at me. A few days later they give up and the add stream goes back to something I might normally go for like pick-up trucks or food items.This kind of hot-cold good-cop/bad-cop technique is what narcissists and psychopaths use to manipulate victims.

author: magic
author_rank: Super Contributor
timestamp: February 02, 2024, 11:47:45 am
content: LOLI know I repeat this every month, but when I become next Stalin I will send all web developers to run on hamster wheels forever and generate renewable electricity.Please donate to my Patreon.

author: tggzzz
author_rank: Super Contributor
timestamp: February 02, 2024, 12:40:58 pm
content: Quote from: magic on February 02, 2024, 11:47:45 amSuch treadmills need to be larger than hamster wheels. These would be more suitable

author: magic
author_rank: Super Contributor
timestamp: February 02, 2024, 01:46:59 pm
content: We will do A/B tests on different designs and see if it's more efficient to run outside or inside the wheel.See you later, comrades, I'm writing the Web 1.0 Manifesto now...

author: SiliconWizard
author_rank: Super Contributor
timestamp: February 03, 2024, 03:58:05 am
content: Quote from: magic on February 02, 2024, 11:47:45 amWell, the hamster wheel concept is already kinda what they do. Just that your option may be better for the environment.Ultimately, they just do whatever they're being told to, in a loop. They're not the only profession doing that - probaby 90% of all working people, at least, just do as they're are being told, without a question.Obedience without ethics is what leads to the absolute worst in human behavior.Oh well.

author: magic
author_rank: Super Contributor
timestamp: February 03, 2024, 08:36:05 am
content: They do more than doing what they are told to do - they believe what they are told to believe. Those web companies operate like cults, recruiting the most gullible purposeless losers looking for a hill to die on, then letting them proudly die on the hill of profits and political influencing aligned with the business model.Web corporations have already done the hard part of rounding up dangerous lunatics in one place, now it's only a matter of obtaining their employee files and finishing the Revolution

author: MrMobodies
author_rank: Super Contributor
timestamp: February 04, 2024, 05:04:37 pm
content: Quote from: SiliconWizard on January 16, 2024, 01:32:54 amI found/suspect that the skeleton placeholders slows the page load down a bit by a couple of seconds or so.QuoteTime spent loading or displaying extra things that just disappear after.

author: IdahoMan
author_rank: Regular Contributor
timestamp: February 04, 2024, 07:04:26 pm
content: Two sites I can't even visit anymore are YouTube.com and Gog.com. They will freeze up my browser and/or my machine.

author: rdl
author_rank: Super Contributor
timestamp: February 04, 2024, 11:35:43 pm
content: I actually think the secret might be not having an account and not logging in. That is what I do also.I use Firefox for youtube and I use NoScript and uBlock Origin to to stop most scripts from running and block most cookies. So far, I still have no issues with slowness or advertisements.Quote from: Karel on February 02, 2024, 07:28:52 am

author: RJSV
author_rank: Super Contributor
timestamp: February 04, 2024, 11:50:38 pm
content: Regarding the yt screen things, that came at same time as the time delays; I did figure out how to push around the AD that plays previous to any topic video.First, as the AD video goes thru it's first few seconds, I press on the 3 dots (smart phone) that brings little menu, starting with 'Settings'.When 'settings' is pressed, the AD pauses, but then a press on the phone's 'BACK' key and the AD resumes...this time showing in a little window, at bottom.Pressing the 'PLAY >' then moves that.little screen window, up to expand to regular sized video window...At that point there is some variation, but generally goes to 'SKIP' (the AD), sometimes a count-down a few seconds, or it will say 'Video plays after AD'. Pressing the 'SKIP' or waiting the couple seconds, will get your video started, and in the big window.Most always works....although sometimes it's a video that got pulled (showing the '!').

author: magic
author_rank: Super Contributor
timestamp: February 05, 2024, 09:00:19 am
content: Quote from: rdl on February 04, 2024, 11:35:43 pmVery possible.It's a common pattern that Internet services (and other businesses like banks or telcos) bend over backwards for new customers to lure them, then once you are hooked for good the milking commences.

author: SiliconWizard
author_rank: Super Contributor
timestamp: February 05, 2024, 10:38:59 pm
content: I use YT not logged in on some devices, but only tablets, and so there may be differences other than not being logged in. I have indeed noticed less issues with adblockers in this case, but the downside is that when not logged in to YT, you can't change any settings, so you're stuck with the default ones. They still store a crapton of cookies on your device, but no account, no settings nonetheless. So there!

author: rdl
author_rank: Super Contributor
timestamp: February 06, 2024, 09:39:58 am
content: Everybody is different. The only settings I use always on youtube are autoplay off and the volume control. Both of those will stay as set for the session, so it's a one time thing. I don't know how they do that, but it seems to work without cookies. Sometimes annotations get turned off if they get annoying enough. That setting always resets on the next video.I block a lot of things at youtube with NoScript and uBlock Origin. Mainly google, doubleclick, and gstatic. Also all 3rd party scripts and frames. I've been watching videos for about an hour now and Firefox claims there are no cookies set.About the only bad thing I've noticed is that some user interface items are missing graphics and have no placeholder. It makes it easy to accidentally click something (like the "youtube home" button) because you can't see it.

author: eutectique
author_rank: Frequent Contributor
timestamp: February 06, 2024, 06:49:09 pm
content: Quote from: rdl on February 06, 2024, 09:39:58 amI useCookie AutoDelete. Each time YT loads, it pops up a message"Before you continue to YouTube. We use cookies and data to blah blah blah Reject Accept".So, it does set cookies.

author: rdl
author_rank: Super Contributor
timestamp: February 06, 2024, 08:24:11 pm
content: I've never seen that message at youtube. When I go into Settings > Privacy and Security > Cookies and Site Data, it says there are no cookies. Firefox is set to "Delete all cookies and site data" when it's shut down anyway, so no big deal.

author: SiliconWizard
author_rank: Super Contributor
timestamp: February 06, 2024, 11:00:13 pm
content: Of course it does store cookies. Actually, if it didn't, it would be one of the very rare websites currently that doesn't use cookies. Practically all web sites do, even when you don't see an obvious single reason to do so.I just checked, and currently I have 22 cookies from youtube.com, last updates 2 min ago, whereas I didn't even watch a single YT video in a couple hours. All I did in the past few min that I think has triggered it is open a post in this forum that embedded a YT video, without even playing it. Nice. So, you have proof that barely displaying an embedded YT thumbnail will update cookies.Unless you explicitely block cookies for YT, I don't see how you could have no cookies from it.I also noticed a couple cookies from youtube-nocookies.com, yes, no kidding. Haven't checked what it could possibly be.

author: eutectique
author_rank: Frequent Contributor
timestamp: February 06, 2024, 11:19:44 pm
content: Quote from: SiliconWizard on February 06, 2024, 11:00:13 pmThese are for rare dissidents who refuse to accept YT ones.

author: SiliconWizard
author_rank: Super Contributor
timestamp: February 06, 2024, 11:22:50 pm
content: Ah, explanation there:https://apps.uk/what-is-youtube-nocookie/But the hilarious part is that this does store cookies of its own.

author: madires
author_rank: Super Contributor
timestamp: February 07, 2024, 11:22:49 am
content: Quote from: rdl on February 06, 2024, 09:39:58 amMy experience with turning off auto-play (not logged in) is mixed. Sometimes it stays off, but mostly it's turned on again for a new video. But after viewing a few videos and turning off auto-play each time (maybe 5 times) it will stay off for new videos. On Odysee auto-play stays off when turned off once (also not logged in).

author: rdl
author_rank: Super Contributor
timestamp: February 07, 2024, 01:51:40 pm
content: Well, I went to youtube and turned off all cookies, then watched three videos with no problems. I checked in Privacy & Security > Cookies and Site Data > Manage Data..., and nothing is listed. No cookies, no data.

author: rdl
author_rank: Super Contributor
timestamp: February 07, 2024, 01:58:22 pm
content: Here are my uBlock settings for youtube.

author: SiliconWizard
author_rank: Super Contributor
timestamp: February 28, 2024, 06:01:36 am
content: The YT f*ckers have come up with something new.

author: BrianHG
author_rank: Super Contributor
timestamp: February 28, 2024, 07:07:03 am
content: Quote from: SiliconWizard on February 28, 2024, 06:01:36 amDo tell us...I haven't seen anything new.Though, I occasionally recently saw the add to get youtube premium, however, this is a change in the latest adblocker plus update where they have finally solved the damn lag issues.

author: SiliconWizard
author_rank: Super Contributor
timestamp: February 28, 2024, 07:36:50 am
content: To begin with, the number of sponsored links that now appear (and can't seem to get blocked by adblockers, at least mine) has literally exploded.The other thing that started very recently is that ads, that previously we didn't see at all with adblockers (YT had just managed to slow things down as discussed in this thread), now appear very briefly when streaming a video (like, a couple frames). And if there are ads in the middle of a video, they also appear as a flash like this. That's pretty distracting, although less annoying than having to watch the full ads. This point may differ depending on the adblocker you use and maybe your location (YT has a habit of deploying changes on a schedule depending on location). But that's "fun" to see how active they seem to be concerning their battle to shove ads up everyone's bottom.Note that, for now, there's a very simple way of circumventing all these annoyances, it was evoked in this thread (although evoked as being possibly a coincidence), and I can confirm that it works. And that's possibly one reason some of you never get annoyed, even with Adblock plus. I'm not sure I get why it works, as it looks like a weird policy.

author: Daixiwen
author_rank: Frequent Contributor
timestamp: March 04, 2024, 12:56:50 pm
content: The ads appearing briefly are not directly caused by Youtube, but by the adblockers. During this cat-and-mouse game between the adblockers and Youtube, some adblockers found out that a good way to avoid being detected by youtube and having to change the rules every other day. In fact they load and play the ads, but at a ridiculous speed (1000x for example). This seems much more difficult for youtube to detect, and a minor annoyance for the users.

author: wilfred
author_rank: Super Contributor
timestamp: March 04, 2024, 01:10:11 pm
content: Quote from: madires on February 07, 2024, 11:22:49 amI don't see my autoplay setting changing. It's OFF.I went through installing U-Block a few months ago and this has all settled down for me.

author: MT
author_rank: Super Contributor
timestamp: March 04, 2024, 07:34:52 pm
content: Narrowed it down so now all i have to do is to clear out the cookies and YH "premium requests" are gone.

author: SiliconWizard
author_rank: Super Contributor
timestamp: March 04, 2024, 08:53:25 pm
content: Two simple things: if you are actually not logged in to YT, many issues with adblockers disappear. Yes, this is odd, and I'm not sure I get the rationale. Of course in that case you can't comment and most settings won't get saved.If you use Firefox, opening YT pages in a "private window" will also make almost all annoyances disappear.For now.That's consistent with the fact that clearing cookies also helps.

author: magic
author_rank: Super Contributor
timestamp: March 05, 2024, 06:52:54 am
content: By logging in you signal that you are already addicted and can be screwed with safely.

author: Karel
author_rank: Super Contributor
timestamp: March 05, 2024, 07:32:30 am
content: Quote from: magic on March 05, 2024, 06:52:54 amCynical and depressing but true...

author: SiliconWizard
author_rank: Super Contributor
timestamp: March 05, 2024, 07:46:07 am
content: Quote from: magic on March 05, 2024, 06:52:54 amYes. That's also pretty much what all businesses do these days, drag in potential customers with attractive offers and literally spit on their customers once acquired.