YouTube has stopped loading.

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.
Keiji
Apollo supporter
Apollo supporter
Posts: 32
Joined: 2017-09-27, 19:31

Re: YouTube has stopped loading.

Unread post by Keiji » 2020-09-23, 17:03

Moonchild wrote:
2020-09-23, 00:21
By the way, wouldn't the following be a more accurate (and functional) script?

Code: Select all

// [...]
window.MediaQueryList.prototype.addEventListener = function(event, cb) {
  this.addListener(cb);
};
window.MediaQueryList.prototype.removeEventListener = function(event, cb) {
  this.removeListener(cb);
};
Yes, I imagine it likely would be. I didn't do this for two reasons though:

1. I just wanted to see if I could get the website working with as little effort as possible.
2. It did occur to me that even if I did bother to make addEventListener actually functional, whatever code might run in the added listener if called might break the website in some other way, so for a first try it seemed a safer option to just pretend that the event never happens.

Also, something that might be of interest: This happened on my laptop. I've not had this problem (and not had to install Greasemonkey) on my desktop before or after, logged in to the same YouTube account, and the OS (Win10) and PM version is the same. I can only guess that the difference is due to my laptop having a 3200x1800, 200% display scaled, multitouch touchscreen, while my desktop has a pretty ordinary 1920x1080, 100% scaled, non-touchscreen display (well two of them but that's besides the point). Presumably whatever code calls addEventListener only runs on touchscreens, or only runs on display scaled devices, or something like that.

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

Re: YouTube has stopped loading.

Unread post by Moonchild » 2020-09-23, 17:08

Your observation is called "live A/B testing"
"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

Blocki

Re: YouTube has stopped loading.

Unread post by Blocki » 2020-09-23, 17:33

It seems Youtube has changed back whatever they did. On my system where it was not working yesterday evening, it is working again without any changes on my side.