Fix for youtube on latest version for Windows 64 bit Palemoon

For support with specific websites

Moderator: trava90

Forum rules
Please always mention the name/domain of the website in question in your topic title.
Please one website per topic thread (to help keep things organized). While behavior on different sites might at first glance seem similar, they are not necessarily caused by the same.

Please try to include any relevant output from the Toolkit Error Console or the Developer Tools Web Console using the following procedure:
  1. Clear any current output
  2. Navigate or refresh the page in question
  3. Copy and paste Errors or seemingly relevant Warnings into a single [ code ] block.
unholysoda

Fix for youtube on latest version for Windows 64 bit Palemoon

Unread post by unholysoda » 2020-11-24, 14:10

Hi all,

I had problems with youtube not loading, probably due to a 'TypeError: window.customElements is undefined' error.
After some google-fu I found the following fix:

change
general.useragent.override.youtube.com
from:
Mozilla/5.0 (%OS_SLICE% rv:60.0) Gecko/20100101 Firefox/60.0
to:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.9) Gecko/20100101 Firefox/60.9

I found the fix through some possibly unrelated other issue:
https://github.com/Financial-Times/poly ... r/issues/7

No idea of any of that is relevant, but thought I'd share it as well.
Might as well have been a lucky shot, not a webdev / browserdev

I suppose Windows NT 6.1 can be generalized to %OS_SLICE%, but what do I know...
This worked for me and I thought I'd share it here.

User avatar
franstam
Fanatic
Fanatic
Posts: 100
Joined: 2017-03-27, 10:16

Re: Fix for youtube on latest version for Windows 64 bit Palemoon

Unread post by franstam » 2020-11-26, 07:55

Thats very interesting, i was still having the youtube appearing blank for me issue here viewtopic.php?p=204151#p204151 seems to be fixed with your advice... thanks!

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 37676
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Fix for youtube on latest version for Windows 64 bit Palemoon

Unread post by Moonchild » 2020-11-26, 08:25

I still don't understand why people are having this issue -- YouTube is displaying just fine here with the default override that has been in place for quite a while. No matter if I'm logged in or out, etc. -- It's weird that a .9 would work and a .0 not, unless they are making .9 perhaps "unknown" now to serve fallback code? But then that would still not explain why my default override works.
"A dead end street is a place to turn around and go into a new direction" - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
badnick
Astronaut
Astronaut
Posts: 670
Joined: 2017-03-23, 19:56

Re: Fix for youtube on latest version for Windows 64 bit Palemoon

Unread post by badnick » 2020-11-26, 08:37

Youtube works for me with the default "general.useragent.override" since it was implemented, no matter what Pale Moon updates.
Windows 10 pro /64 (version 1809)
PM last/64

User avatar
Night Wing
Knows the dark side
Knows the dark side
Posts: 5443
Joined: 2011-10-03, 10:19
Location: Piney Woods of Southeast Texas, USA

Re: Fix for youtube on latest version for Windows 64 bit Palemoon

Unread post by Night Wing » 2020-11-26, 12:05

After reading this topic thread, I switched over to my (although I don't use it very much anymore since the operating system has reached end of life) 64 bit Windows 7 hard drive and 64 bit windows Pale Moon 28.16.0 has no problems when I'm visiting YouTube using the default setting for YouTube.
Linux Mint 22.1 (Xia) Xfce w/Pale Moon, Waterfox, Firefox
MX Linux 23.6 (Libretto) Xfce w/Pale Moon, Waterfox, Firefox
Linux Debian 12.11 (Bookworm) Xfce w/Pale Moon, Waterfox, Firefox

User avatar
ron_1
Moon Magic practitioner
Moon Magic practitioner
Posts: 2991
Joined: 2012-06-28, 01:20

Re: Fix for youtube on latest version for Windows 64 bit Palemoon

Unread post by ron_1 » 2020-11-26, 15:28

FWIW, the first time I went to youtube after installing 28.16 it did act weird. First it didn't want to load the video, then it started playing it in a little box at the bottom right of the screen. Finally after clicking around a bit, it started working as usual, and has been working since.

Youtube has been loading (I mean youtube pages, not videos) somewhat slowly, i.e., it freezes a few seconds, before it finally does load. It's been doing this since at least version 28.15.

wickedsp1d3r
Hobby Astronomer
Hobby Astronomer
Posts: 24
Joined: 2017-07-14, 09:49

Re: Fix for youtube on latest version for Windows 64 bit Palemoon

Unread post by wickedsp1d3r » 2020-11-27, 15:24

ron_1 wrote:
2020-11-26, 15:28
Youtube has been loading (I mean youtube pages, not videos) somewhat slowly, i.e., it freezes a few seconds, before it finally does load. It's been doing this since at least version 28.15.
Same. I think the new YouTube has always been sluggish with Pale Moon. Is there anything that could be done to prevent it?

User avatar
THX-1139
Lunatic
Lunatic
Posts: 475
Joined: 2019-06-13, 13:42
Location: In a place with no YT

Re: Fix for youtube on latest version for Windows 64 bit Palemoon

Unread post by THX-1139 » 2020-11-27, 16:36

That is not what I am experiencing at all; Youtube pages and videos load very fast for me, it's surprising to me just how fast it is with all the stuff they want to
load on, and I also have no problems with ram usage (remains nominal) using Pale Moon with many YT, Bitchute, and other tab/pages loaded.
I certainly don't need a "fix". *shrugs
Pale Moon 33.5.0. (64) Win7 pro (64) Intel Core i5-3570 3.4GHz-16 GB DDR3

"The biggest joke on mankind is that computers have started asking humans to prove they're not a robot."

"Man needs difficulties; they are necessary for health." ~Carl Jung