Page 1 of 1

Sign in Online Learning and Training - O'Reilly Media

Posted: 2021-11-14, 14:14
by txx28
When I go to

https://www.oreilly.com/member/login/?n ... &locale=en

and try to sign in, I could not do so. I can do it in FF.

In Console window, I see this error:

Code: Select all

SyntaxError: expected expression, got '?'[Learn More]
Please help!

Re: Sign in Online Learning and Training - O'Reilly Media

Posted: 2021-11-16, 17:27
by txx28
Any updates?

Re: Sign in Online Learning and Training - O'Reilly Media

Posted: 2021-11-19, 17:59
by franstam

Re: Sign in Online Learning and Training - O'Reilly Media

Posted: 2021-11-19, 21:11
by New Tobin Paradigm
This is an authoritative post: viewtopic.php?f=62&t=27497#p221033

Re: Sign in Online Learning and Training - O'Reilly Media

Posted: 2021-11-20, 05:55
by txx28
So, it means the error is there because of nullish ?? coalesce operator, as MoonChild said so on above authoritative thread. Right? I could see expressions like

{invalid:a,value:r??"",validator:o,valid:!a}}

within the source code.

What is the workaround here?

Re: Sign in Online Learning and Training - O'Reilly Media

Posted: 2021-11-20, 08:26
by Moonchild
txx28 wrote:
2021-11-20, 05:55
What is the workaround here?
The workaround is using a different browser for this website.

Re: Sign in Online Learning and Training - O'Reilly Media

Posted: 2021-11-28, 13:32
by txx28
May be I could write a quick Pale Moon add-on which will manually login to the site via add-on JS code. This way, required cookies, etc. would be set. Can you point me to a sample / demo add-on wherein I can write JS code to do an XHR? I can, of course, use FF to find out correct URL and/or POST data needed for XHR.

Re: Sign in Online Learning and Training - O'Reilly Media

Posted: 2021-11-29, 00:17
by moonbat
Don't need an addon, this can be accomplished by a userscript. Look up the Greasemonkey guide for more info. Goes without saying you need to install Greasemonkey for Pale Moon first.

Re: Sign in Online Learning and Training - O'Reilly Media

Posted: 2021-11-29, 13:20
by txx28
Great! Thanks for the help. I will install GreaseMonkey Pale Moon add-on and will try it.