If the proper fix is slated for the next version, couldn't you just use the hack and remove it when PM updates?New Tobin Paradigm wrote: ↑2020-06-03, 06:26If 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.
Reddit.com - infinte scroll and other issues on 28.9.3 64bit as of today Topic is solved
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!
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!
Re: Reddit.com - infinte scroll and other issues on 28.9.3 64bit as of today
Re: Reddit.com - infinte scroll and other issues on 28.9.3 64bit as of today
I'm not exactly a coder so this may not be the best method for checking but it worked.New Tobin Paradigm wrote: ↑2020-06-03, 06:26If 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.
Code: Select all
// ==UserScript==
// @name reddit globalThis fix
// @match https://www.reddit.com/*
// @run-at document-start
// @grant none
// ==/UserScript==
if (typeof globalThis == 'undefined') {
unsafeWindow.globalThis = window;
}
That's what I intend to do, but his point is a good one about at making at least an attempt to check before trying to set it.
Re: Reddit.com - infinte scroll and other issues on 28.9.3 64bit as of today
Greasemonkey's scratchpad keeps reporting;
/*
Exception: ReferenceError: unsafeWindow is not defined
@Scratchpad/5:7:3
*/
/*
Exception: ReferenceError: unsafeWindow is not defined
@Scratchpad/5:7:3
*/
Re: Reddit.com - infinte scroll and other issues on 28.9.3 64bit as of today
I am not sure on the error it worked for me on Pale Moon 28.9.3 64bit Windows with Greasemonkey for Pale Moon3.31.4
If the original one worked for now you could just use it but have to remember to turn it off when Pale Moon updates. The change was just to try and be a bit better at things and check to make sure globalThis did not exists as I think was being suggested to prevent stepping on it after the fix.
Re: Reddit.com - infinte scroll and other issues on 28.9.3 64bit as of today
Moderator note: superfluous quoting removed.
Got it working again o.O
I was using an older version of Greasemonkey from CAA (3.17). Grabbed 3.31.4, installed it, encountered problems trying to add new scripts, realised I still had the old version installed, uninstalled that, then it worked.
Not sure why the script worked for a bit using 3.17 then stopped working.
Got it working again o.O
I was using an older version of Greasemonkey from CAA (3.17). Grabbed 3.31.4, installed it, encountered problems trying to add new scripts, realised I still had the old version installed, uninstalled that, then it worked.
Not sure why the script worked for a bit using 3.17 then stopped working.
Re: Reddit.com - infinte scroll and other issues on 28.9.3 64bit as of today
28.10.0 is out and this is fixed.
Thanks everyone working on Pale Moon.
Thanks everyone working on Pale Moon.
Re: Reddit.com - infinte scroll and other issues on 28.9.3 64bit as of today
Yay. Thanks everyone for the script and the update. I guess this thread can be closed/locked.
-
- Fanatic
- Posts: 180
- Joined: 2019-01-10, 09:37
Re: Reddit.com - infinte scroll and other issues on 28.9.3 64bit as of today
This script still comes in handy for Basilisk users until the new version is released (and I guess other older browsers).
-
- Moon lover
- Posts: 89
- Joined: 2015-08-29, 03:44
Re: Reddit.com - infinte scroll and other issues on 28.9.3 64bit as of today
Fail to Sign-in to reddit after upgrading to Pale Moon to 28.10.0 :
After upgrading Pale Moon I disabled the globalThis script, logout from reddit, removed cookies and cache... but then I failed to sign in (incorrect password).
Then i thought maybe I had changed my password so I reset my password and successfully changed it.
Then tried to sign-in with the new password but ...again incorrect password !
Tried to sign-in to reddit on a clean/fresh Pale Moon profile and succeeded.
I've never had problems signing to reddit before. Can it be a caused by one of my addons ? I have more than 100 addons so it would be hard for me to find which one causes this.
Win 7 x64
After upgrading Pale Moon I disabled the globalThis script, logout from reddit, removed cookies and cache... but then I failed to sign in (incorrect password).
Then i thought maybe I had changed my password so I reset my password and successfully changed it.
Then tried to sign-in with the new password but ...again incorrect password !
Tried to sign-in to reddit on a clean/fresh Pale Moon profile and succeeded.
I've never had problems signing to reddit before. Can it be a caused by one of my addons ? I have more than 100 addons so it would be hard for me to find which one causes this.
Win 7 x64
Last edited by LL25255252 on 2020-06-08, 00:50, edited 1 time in total.
-
- Moon lover
- Posts: 89
- Joined: 2015-08-29, 03:44
Re: Reddit.com - infinte scroll and other issues on 28.9.3 64bit as of today
Very strange...I succeeded with a sign-in through the old reddit - https://old.reddit.com - and then switching to the new design.