Microsoft's Edge browser has a lot of challenges in the modern web world, not the least of which is Google's Chrome browser, which is still top dog for preferred browser usage. Microsoft, though, for its part is playing by the rules – that is, adopting open and agreed upon web standards to make its browser the friendliest.
Nonetheless, if there is one complaint we all hear about (and have experienced) is the YouTube website taking what seems like forever to load in Edge. Today, we'll explain why that is and how to get around the problem to make Edge behave just like Chrome.
The problem is Google
Recently, Chris Peterson, the technical program manager at Mozilla (who oversees the Firefox browser), finally gave a detailed analysis and confirmation of what we all have experienced: YouTube is slower on Firefox and Edge.
Google is using outdated APIs while the rest of the web world has moved on to adopt current standards. Since this is encoded in YouTube's page coding, it causes issues for other browsers that are complying with modern standards.
As to why Google would do this, Peterson wrote, "I assume Google has metrics showing that the Polymer redesign increases Firefox and Edge user engagement more than the slow polyfills hurt it." That is certainly a generous interpretation.
According to Peterson, this decision by Google results in Edge and Firefox being up to five times slower than Chrome – specifically with comments and related material seemingly taking forever to load.
For it's part, Kyle Pflug, who works on Edge for Microsoft says this issue will be sorted in time between the two companies:
Re: the YouTube kerfuffle - they’re committed to supporting the standard (and we’re committed to shipping it), so this will work itself out in time. In the meantime, you can use the workarounds Chris suggests to speed things up: https://t.co/ItmVxP7OBU https://t.co/LwnhJUvtRBRe: the YouTube kerfuffle - they’re committed to supporting the standard (and we’re committed to shipping it), so this will work itself out in time. In the meantime, you can use the workarounds Chris suggests to speed things up: https://t.co/ItmVxP7OBU https://t.co/LwnhJUvtRB— Kyle Pflug (@kylealden) July 25, 2018July 25, 2018
To make matters stranger, Google serves up the pre-Polymer YouTube website to Internet Explorer 11 by default. That means Google could do the same for Firefox and Edge, but it chooses not to ...
So users complain that "Edge sucks" even compared to Internet Explorer 11 for YouTube. The problem is at Google's feet, however. Here's how to fix it.
Solution No. 1: Modify the cookie
Following the observed behavior that YouTube serves up a pre-Polymer YouTube experience to Internet Explorer 11 but not Edge, we can modify the saved cookie on the computer to spoof YouTube.
This trick was noted by Reddit user hamzah77, and it's very easy to do. Just follow these steps:
- In Edge navigate to any video on YouTube (so the player loads).
- Open the Edge Developer Tools using the "Ctrl + Shift + I" shortcut.
- Navigate to the Debugger.
- Double tap Cookies to expand the sub-menu.
- Double-click watch.
- In the middle area where values are displayed, find PREF.
- Under "Value" for "PREF," replace whatever is there with al=en&f5=30030&f6=8.
- Close Edge.
- Navigate back to YouTube. (Videos should now load instantly.)
The downside with this approach is two-fold:
- If that cookie is wiped or deleted, you need to re-do the process.
- This method reverts YouTube to pre-Polymer, so it looks flatter and less modern than the current redesign.
Those downsides are more than acceptable given the resulting performance gain. YouTube is now just as fast as it used to be before Google futzed with things.
Solution No. 2: Tampermonkey script
The alternative to the above is to run Tampermonkey (opens in new tab) in Edge (or Firefox). The extension is a popular userscript manager that lets you auto-run scripts on specific websites.
Twitter user @hypertextc0ffee links to the Pastebin script that you can copy and paste to Tampermonkey. That script then runs anytime you land on YouTube and does the same as the trick above; it reverts to the old version of YouTube.
- Download Tampermonkey from Microsoft (opens in new tab)
- Go to PasteBin, where you can access the "youtube disable polymer" script.
- Copy and paste that script using the "Create new script" function.
The Tampermonkey version has a few advantages over the editing the cookie:
- It persists even if you wipe your cookies.
- It's easy to undo or pause by controlling the extension for Edge.
The downside to Tampermonkey is Edge will load YouTube and then reload the page again with the script running. The result is not as fluid and a tad slower than using solution No. 1, but it still delivers the desired result.
Bonus solution: Use MyTube!
Finally, a third unofficial solution to this Edge and YouTube mess is to use something like MyTube! on your PC.
MyTube! has been around for ages and is one of the best YouTube clients available. It includes many advanced features, such as working on Xbox One, support for 4K video, mini-window, and picture-in-picture, and it has a modern, Fluent design.
See at Microsoft (opens in new tab)
Daniel Rubino is the Editor-in-chief of Windows Central, head reviewer, podcast co-host, and analyst. He has been here covering Microsoft since 2007 when this site was called WMExperts (and later Windows Phone Central). His interests include Windows, Microsoft Surface, laptops, next-gen computing, and for some reason, watches. Before all this tech stuff, he worked on a Ph.D. in linguistics and ran the projectors at movie theaters, which has done absolutely nothing for his career.
Google is basically Microsoft twenty years ago. Glad MS changed a lot.
Google is evil
Mytube is great! But together with this recommendation you should post instructions to associate YouTube links to open on mytube by default.
When you copy a YouTube video link then open MyTube, it'll offer you an option to open the link from clipboard in the app.
It does, it's very nice, thanks
That's all I use is MyTube the Dev for that App is great he post's messages at the top when he's having an issue to let know what's up. I donate ll the time to him for the good work he does.
I did the Tampermonkey thing and it works , it's way faster now .I'll miss the dark theme though :P
Same here, more convenient than modifying the cookie and has the added advantage that even if the cookie is removed the script will still work.
Nah... Losing the dark theme in YouTube is kind of too much of a deal breaker to me and my delicate eyes to perform such a hack.
I'm also too lazy to toggle frequently between Edge and an App like MyTube just to have the best of both worlds...
Pardon my french, but this sounds assbackwards. Why not use Enhancer for YouTube in Edge (free extension) in addition to the cookie trick? You get Dark Mode/dark themes and you won't get osteoporosis waiting for your video to load.
lol you said ass. 😂
Thanks for the tip on the enhancer extension Daniel. Works awesome. Now my youtube loads fast and is dark as well!
NP, it's a solid extension. Almost too many options, but greatly improves YT.
Yes it’s really good. Having a dark theme on YouTube with the “fix” done makes for a much better experience. Thanks again!
Awesome. Next --> Facebook!!!!!
Any solutions for that? Problems loading, scaling, stuff jumping up and down, auto refreshing back to top, etc...
That is just facebook and that happens on every browser and every app.