Reddit.com - infinte scroll and other issues on 28.9.3 64bit as of today Topic is solved

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
User avatar
kelendral
Fanatic
Fanatic
Posts: 117
Joined: 2015-05-29, 19:28
Location: Earth

Reddit.com - infinte scroll and other issues on 28.9.3 64bit as of today

Unread post by kelendral » 2020-05-29, 19:47

Anyone else having issues with the new/current Reddit in Pale Moon today?

Issues include broken infinite scroll. Being unable to up/down vote, being unable to change date range for Top sort, etc.

Started sometime today as it was working this morning before work.
Last edited by kelendral on 2020-05-29, 20:26, edited 2 times in total.
Browser Primary: Pale Moon 64bit
Browser Secondary: Basilisk 64bit
OSes: Win7Ult 64bit Desk & Win10Pro 64bit Laptop

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 30908
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: Reddit

Unread post by Moonchild » 2020-05-29, 19:50

app.php/rules rule 5b. Please.
"Just because you know something is going to break in the end, doesn't mean that it can't have an effect that lasts into the future. Joy. Wonder. Laughter. Hope. The world can be better because of what you built in the past." -- Tom Scott
Image

User avatar
kelendral
Fanatic
Fanatic
Posts: 117
Joined: 2015-05-29, 19:28
Location: Earth

Re: Reddit Infinte Scroll and other issues on 28.9.3 64bit as of today

Unread post by kelendral » 2020-05-29, 20:03

Sorry, Edit done. Issue still remains.
As noted it was working earlier today. Configuration has not changed on local machines so I gather something changed on their end.
Similar behavior noted in Internet Explorer which pushes the recommendation to use 'old reddit'.
Behavior not reproduced in Firefox or Chrome.

Edit to Add a link:
https://www.reddit.com/r/free/new/
versus
https://old.reddit.com/r/free/new/

You'll have to check your preference if they both look the same or just click 'Get New Reddit' in top left.
Browser Primary: Pale Moon 64bit
Browser Secondary: Basilisk 64bit
OSes: Win7Ult 64bit Desk & Win10Pro 64bit Laptop

User avatar
adesh
Board Warrior
Board Warrior
Posts: 1277
Joined: 2017-06-06, 07:38

Re: Reddit.com - infinte scroll and other issues on 28.9.3 64bit as of today

Unread post by adesh » 2020-05-30, 11:26

Web console:

Code: Select all

ReferenceError: globalThis is not defined[Learn More]  
Governance~Reddit.0b1495ab51c271daed46.js:1:334732
	c https://www.redditstatic.com/desktop2x/Governance~Reddit.0b1495ab51c271daed46.js:1:334732
	d https://www.redditstatic.com/desktop2x/Governance~Reddit.0b1495ab51c271daed46.js:1:334836
	./src/reddit/actions/reCaptchaEnterprise.ts/O< https://www.redditstatic.com/desktop2x/Governance~Reddit.0b1495ab51c271daed46.js:1:336612
	./src/reddit/actions/reCaptchaEnterprise.ts https://www.redditstatic.com/desktop2x/Governance~Reddit.0b1495ab51c271daed46.js:1:335525
	i https://www.redditstatic.com/desktop2x/runtime~Reddit.a1262282e103a90cafaf.js:1:594
	./src/reddit/index.tsx https://www.redditstatic.com/desktop2x/Reddit.f025f8fe068087df63b8.js:1:286699
	i https://www.redditstatic.com/desktop2x/runtime~Reddit.a1262282e103a90cafaf.js:1:594
	t https://www.redditstatic.com/desktop2x/runtime~Reddit.a1262282e103a90cafaf.js:1:430
	o https://www.redditstatic.com/desktop2x/runtime~Reddit.a1262282e103a90cafaf.js:1:293
	<anonymous> https://www.redditstatic.com/desktop2x/Reddit.f025f8fe068087df63b8.js:1:2

        

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 30908
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: Reddit.com - infinte scroll and other issues on 28.9.3 64bit as of today

Unread post by Moonchild » 2020-05-30, 13:57

If globalThis (ES2020/2021) is the problem then we're sorry but that is not yet part of UXP.
"Just because you know something is going to break in the end, doesn't mean that it can't have an effect that lasts into the future. Joy. Wonder. Laughter. Hope. The world can be better because of what you built in the past." -- Tom Scott
Image

User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 10529
Joined: 2012-10-09, 19:37
Location: The Seriphia Galaxy

Re: Reddit.com - infinte scroll and other issues on 28.9.3 64bit as of today

Unread post by New Tobin Paradigm » 2020-05-30, 19:15

Issue #1570 (UXP) was created to track this.
Of course, all these failures mount up and could easily end up costing more collectively than paying a proper rage would.
Image

User avatar
adesh
Board Warrior
Board Warrior
Posts: 1277
Joined: 2017-06-06, 07:38

Re: Reddit.com - infinte scroll and other issues on 28.9.3 64bit as of today

Unread post by adesh » 2020-05-31, 12:46

Confirming that infinite scroll and sorting works after including that commit in the build.

User avatar
kelendral
Fanatic
Fanatic
Posts: 117
Joined: 2015-05-29, 19:28
Location: Earth

Re: Reddit.com - infinte scroll and other issues on 28.9.3 64bit as of today

Unread post by kelendral » 2020-05-31, 14:26

Excellent news.
Thanks to everyone involved in this great browser.
Browser Primary: Pale Moon 64bit
Browser Secondary: Basilisk 64bit
OSes: Win7Ult 64bit Desk & Win10Pro 64bit Laptop

User avatar
brknsoul
Moongazer
Moongazer
Posts: 8
Joined: 2020-06-01, 02:33

Re: Reddit.com - infinte scroll and other issues on 28.9.3 64bit as of today

Unread post by brknsoul » 2020-06-01, 02:34

adesh wrote:
2020-05-31, 12:46
Confirming that infinite scroll and sorting works after including that commit in the build.
Is there a way for end users to get this build, or do we wait for an update to be pushed?

User avatar
adesh
Board Warrior
Board Warrior
Posts: 1277
Joined: 2017-06-06, 07:38

Re: Reddit.com - infinte scroll and other issues on 28.9.3 64bit as of today

Unread post by adesh » 2020-06-01, 06:30

You have to wait. Considering this is low risk and fixes some web breakage, it may be included in the next point release (if there is one) which may not be much far away. But I may be wrong and only Moonchild is authority in such matters.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 30908
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: Reddit.com - infinte scroll and other issues on 28.9.3 64bit as of today

Unread post by Moonchild » 2020-06-01, 08:28

Firefox has a release tomorrow so we'll have a sec point release shortly (depending on MozSec release of bugs to me) after -- there are a few regression and web compat fixes lined up to be joined by the sec patches for a point release, and this one will be uplifted to release for it.
"Just because you know something is going to break in the end, doesn't mean that it can't have an effect that lasts into the future. Joy. Wonder. Laughter. Hope. The world can be better because of what you built in the past." -- Tom Scott
Image

User avatar
brknsoul
Moongazer
Moongazer
Posts: 8
Joined: 2020-06-01, 02:33

Re: Reddit.com - infinte scroll and other issues on 28.9.3 64bit as of today

Unread post by brknsoul » 2020-06-01, 10:10

Moonchild wrote:
2020-06-01, 08:28
Firefox has a release tomorrow so we'll have a sec point release shortly (depending on MozSec release of bugs to me) after -- there are a few regression and web compat fixes lined up to be joined by the sec patches for a point release, and this one will be uplifted to release for it.
Excellent. Thanks for the work on this. Ever since Opera died (v12), and Firefox broke addons, Pale Moon and/or Basilisk have become my fave browsers, sporting some addons that I can't live without.

Octopuss

Re: Reddit.com - infinte scroll and other issues on 28.9.3 64bit as of today

Unread post by Octopuss » 2020-06-01, 19:53

could anyone of this be a reason why I cannot post anywhere on reddit, getting either blank editor or red stop sign over post button, among other things?

User avatar
kelendral
Fanatic
Fanatic
Posts: 117
Joined: 2015-05-29, 19:28
Location: Earth

Re: Reddit.com - infinte scroll and other issues on 28.9.3 64bit as of today

Unread post by kelendral » 2020-06-02, 10:08

Using this slightly modified Grease/Violent/Tamper Monkey script that I saw on reddit with Pale Moon and it appears to work for now till the update

Code: Select all

// ==UserScript==  
// @name         reddit globalThis fix  
// @match        https://www.reddit.com/*  
// @grant    none
// ==/UserScript==  
unsafeWindow.globalThis = window;  
Browser Primary: Pale Moon 64bit
Browser Secondary: Basilisk 64bit
OSes: Win7Ult 64bit Desk & Win10Pro 64bit Laptop

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 30908
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: Reddit.com - infinte scroll and other issues on 28.9.3 64bit as of today

Unread post by Moonchild » 2020-06-02, 10:14

It underlines exactly how silly some of this later ES scripting stuff is, doesn't it?
"Just because you know something is going to break in the end, doesn't mean that it can't have an effect that lasts into the future. Joy. Wonder. Laughter. Hope. The world can be better because of what you built in the past." -- Tom Scott
Image

User avatar
kelendral
Fanatic
Fanatic
Posts: 117
Joined: 2015-05-29, 19:28
Location: Earth

Re: Reddit.com - infinte scroll and other issues on 28.9.3 64bit as of today

Unread post by kelendral » 2020-06-02, 12:29

Yes, if it was truly needed a userscript should not have been able to fix the issue. Just more change for change's sake without rhyme or reason.
I suppose I shouldn't say no reason. It does keep the big guys dominant and hurt competition.
Browser Primary: Pale Moon 64bit
Browser Secondary: Basilisk 64bit
OSes: Win7Ult 64bit Desk & Win10Pro 64bit Laptop

Lurker_01
Fanatic
Fanatic
Posts: 106
Joined: 2015-06-12, 14:59
Location: Uruguay

Re: Reddit.com - infinte scroll and other issues on 28.9.3 64bit as of today

Unread post by Lurker_01 » 2020-06-02, 18:44

kelendral wrote:
2020-06-02, 10:08
Tamper Monkey script that ... appears to work for now till the update
Off-topic:
I believe this solution is incomplete and naive per https://v8.dev/features/globalthis but it will work just fine considering we are dealing with the browser platform only, otherwise using an official polyfill or this monstrosity https://mathiasbynens.be/notes/globalthis is a better platform agnostic solution, through probably not needed.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 30908
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: Reddit.com - infinte scroll and other issues on 28.9.3 64bit as of today

Unread post by Moonchild » 2020-06-02, 18:56

No need to call in a surgeon when a bandaid will do.
"Just because you know something is going to break in the end, doesn't mean that it can't have an effect that lasts into the future. Joy. Wonder. Laughter. Hope. The world can be better because of what you built in the past." -- Tom Scott
Image

User avatar
brknsoul
Moongazer
Moongazer
Posts: 8
Joined: 2020-06-01, 02:33

Re: Reddit.com - infinte scroll and other issues on 28.9.3 64bit as of today

Unread post by brknsoul » 2020-06-03, 06:09

kelendral wrote:
2020-06-02, 10:08
Using this slightly modified Grease/Violent/Tamper Monkey script that I saw on reddit with Pale Moon and it appears to work for now till the update

Code: Select all

// ==UserScript==  
// @name         reddit globalThis fix  
// @match        https://www.reddit.com/*  
// @grant    none
// ==/UserScript==  
unsafeWindow.globalThis = window;  
Cool.. It works, and if it works, I'm happy.
Like Moonchild says; bandaid and superglue will do until the surgeon comes along. Thank you!

User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 10529
Joined: 2012-10-09, 19:37
Location: The Seriphia Galaxy

Re: Reddit.com - infinte scroll and other issues on 28.9.3 64bit as of today

Unread post by New Tobin Paradigm » 2020-06-03, 06:26

If you are gonna use this you should really do it in polyfill style and check if it already exists and if not then assign it else it will bust scripting in the next version. Tho I can't believe you guys couldn't have waited for the next release to fix a poorly coded shithole like reddit.
Of course, all these failures mount up and could easily end up costing more collectively than paying a proper rage would.
Image

Locked