Sign in Online Learning and Training - O'Reilly Media

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 try and 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.
User avatar
txx28
Newbie
Newbie
Posts: 5
Joined: 2019-01-22, 12:07

Sign in Online Learning and Training - O'Reilly Media

Unread post by txx28 » 2021-11-14, 14:14

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!

User avatar
txx28
Newbie
Newbie
Posts: 5
Joined: 2019-01-22, 12:07

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

Unread post by txx28 » 2021-11-16, 17:27

Any updates?


User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 10670
Joined: 2012-10-09, 19:37
Location: Sector 001

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

Unread post by New Tobin Paradigm » 2021-11-19, 21:11

This is an authoritative post: viewtopic.php?f=62&t=27497#p221033
He tasks me. He tasks me and I shall have him.
I'll chase him round the moons of Nibia and round the Antares maelstrom and round perdition's flames before I give him up.. Prepare to alter course.

Image
binaryoutcast.compaypal.me/mattatobinthereisonlyxul.org

User avatar
txx28
Newbie
Newbie
Posts: 5
Joined: 2019-01-22, 12:07

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

Unread post by txx28 » 2021-11-20, 05:55

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?

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

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

Unread post by Moonchild » 2021-11-20, 08:26

txx28 wrote:
2021-11-20, 05:55
What is the workaround here?
The workaround is using a different browser for this website.
"Remember, only you can prevent Earth's destruction by spelling Pale Moon with a space." -- Athenian200
Image

User avatar
txx28
Newbie
Newbie
Posts: 5
Joined: 2019-01-22, 12:07

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

Unread post by txx28 » 2021-11-28, 13:32

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.

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 3629
Joined: 2015-12-09, 15:45
Contact:

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

Unread post by moonbat » 2021-11-29, 00:17

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.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 20.1 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
txx28
Newbie
Newbie
Posts: 5
Joined: 2019-01-22, 12:07

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

Unread post by txx28 » 2021-11-29, 13:20

Great! Thanks for the help. I will install GreaseMonkey Pale Moon add-on and will try it.

Post Reply