Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Waterfox Classic] Problem with Google Support YouTube pages ? #77

Open
decembre opened this issue Mar 10, 2022 · 5 comments
Open

[Waterfox Classic] Problem with Google Support YouTube pages ? #77

decembre opened this issue Mar 10, 2022 · 5 comments

Comments

@decembre
Copy link

decembre commented Mar 10, 2022

Test link:
[Google Support YouTube.](https://support.google.com/youtube/thread/119439627/how-do-i-change-my-youtube-layout-in-google-chrome-back-to-normal?hl=en)](https://support.google.com/youtube/thread/119439627/how-do-i-change-my-youtube-layout-in-google-chrome-back-to-normal?hl=en)

I have tested with Waterfox Classic v.56.6 (last update):

  • With 2 different profiles (one with fresh install and less addons and userscripts)
  • Disable all userscripts
  • Change the User Agent
  • Test with Polly addon (Use some options or all of them: difficult to know what they do.

But always not see the text in the page.
No problem with:

  • Firefox Qauntum
  • Chrome

What's the problem?
Can you fix it or explain a workaround?

And as usual: Thanks for your work!

@decembre
Copy link
Author

decembre commented May 6, 2022

Always the same problem for this link...
See these screenshots:
Problem with Google Support YouTube page - PB Waterfox Classic - 2022-05-06_213757
Problem with Google Support YouTube page - OK Qauntum - 2022-05-06_213757

@walmar
Copy link

walmar commented May 8, 2022

What's the problem?

It could be related to the errors logged in the Web Console.

TypeError: Intl.RelativeTimeFormat is not a constructor[Learn More] how-do-i-change-my-youtube-layout-in-google-chrome-back-to-normal:4335:35
ReferenceError: sc is not defined[Learn More] how-do-i-change-my-youtube-layout-in-google-chrome-back-to-normal:4844:20684

explain a workaround?

https://web.archive.org/web/ + https://support.google.com/youtube/thread/119439627/how-do-i-change-my-youtube-layout-in-google-chrome-back-to-normal?hl=en
= How do I change my YouTube layout in Google Chrome back to normal? - YouTube Community - Internet Archive

@decembre
Copy link
Author

decembre commented May 8, 2022

So, it' an error from the site which serve its content in a wrong way for Waterfox
Or an bug from Waterfox?

But, yes...
i can use Web Archive, but not useful, no?
:-)
Note:
How you have find the old capture:
I tested different way but i can't find it...

@walmar
Copy link

walmar commented Jun 9, 2022

I apologize for the delay in answering your questions. I was thinking about some different ways to get around this and have a lot of other tasks to do.

So, it' an error from the site which serve its content in a wrong way for Waterfox
Or an bug from Waterfox?

In case of Intl.RelativeTimeFormat() constructor as part of the ECMAScript Internationalization API, this seems to be not supported before Firefox 65 as described on web pages:

It is worth a mention that I also get the same result and even more logged web console error messages with the Pale Moon 31 web browser.

How you have find the old capture: I tested different way but i can't find it...

I dont't know exacly what you mean.
Unfortunately, this type of approach is not meant to work around pages that were not captured before the issue with Waterfox occurred.
If a capture is available, then it should just load the way as I have already explained.

However, the following configuration is preferred by me for the time being to work around the issue with all Google support threads.

This NoScript Classic Firefox extension Script Surrogate creates a surrogate for the missing JavaScript object before the HTML parsing starts:

  • about:config > preferences context menu > New > String
    • noscript.surrogate.googleThread.sources > @https://support.google.com/*/thread/*
    • noscript.surrogate.googleThread.replacement > if (typeof Intl.RelativeTimeFormat !== "function") { Intl.RelativeTimeFormat = class { constructor(locales = "en", options = {}) {} format(value, unit) { const str = "" + Math.abs(0+value) + " " + unit; if (value<0) return str + " ago"; return str; } }; }

@decembre
Copy link
Author

decembre commented Jun 9, 2022

Yep, that's work fine!
I don't understand how you find that but you are an expert....

Now i need to manage an other addon, hmmmm.
NoScript is a little bit confuse for me.
:-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants