Jump to content
  • Google explains why it did not make Firefox load YouTube slowly on purpose


    Karlston

    • 295 views
    • 3 minutes
     Share


    • 295 views
    • 3 minutes

    Earlier today, we covered an interesting story wherein users online reported about YouTube loading slower when using Firefox. What was curious about it was the fact that YouTube would load perfectly normally if the browser was tricked into thinking it was Google Chrome using a User Agent switcher.

     

    1700497799_youtube_load_slow_on_firefox_

    YouTube loading slow on Firefox

     

    This behavior was picked up by Reddit users mainly and although it may seem to be like a performance optimization issue or a lack of it by the Mozilla Firefox development team, sharp-eyed users noticed code sections that had a 5000 ms or a five-second delay that appeared to be intentionally placed there for some reason.

     

    When requested for comment on the matter, Google provided the following statement to 9to5Google:

     

    To support a diverse ecosystem of creators globally and allow billions to access their favorite content on YouTube, we’ve launched an effort to urge viewers with ad blockers enabled to allow ads on YouTube or try YouTube Premium for an ad free experience. Users who have ad blockers installed may experience suboptimal viewing, regardless of the browser they are using.

    Hence according to Google, the delay was due to installed ad blockers which was leading to a "suboptimal viewing" experience. Interestingly the tech giant further added that this was to be the case "regardless of the browser they are using" suggesting that it was not just Firefox that should be affected.

     

    So it seems like there is more than meets the eye because at quick glance, most would assume foul play is involved especially since spoofing Chrome seems to work. And there is apparently an explanation for that too.

     

    Another Redditor frisch85 went deeper into the suspicious code and it seems to nicely align with the statement provided by Google. They explain:

     

    I checked the code with the part you quoted, I doubt this is firefox related as there's no check on the user agent when this code is executed. It looks more like an ad-thing.

     

    .. this seems to be just lazy implementation instead of doing anything shady,..

     

    To me this looks more like the lazy attempt of ensuring an ad is being displayed for at least 5 seconds until the actual video is going to load.

     

    Why is it slow the first time someone loads and not every time? Simple, YT doesn't reload the page as we would expect it to reload, instead it prevents you from reloading the whole page but causes itself to reload the contents without reloading all of the scripts, which some websites do these days and I don't like it tbh as it will load faster but it's not an actual reload.

    Hence, the example of YouTube running perfectly on Chrome after struggling on Firefox could have more to do with how YouTube itself "reloads" instead of some shenanigans being involved.

     

    Source


    User Feedback

    Recommended Comments

    There are no comments to display.



    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.
    Note: Your post will require moderator approval before it will be visible.

    Guest
    Add a comment...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...