ebay.de - internal function problem

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
JoeyG
Astronaut
Astronaut
Posts: 655
Joined: 2017-06-12, 13:27
Location: How can you be in two places at once, when you're not anywhere at all?

ebay.de - internal function problem

Unread post by JoeyG » 2021-05-20, 14:32

Hello again from Berlin,

Using a brand-new profile with the latest versions of both Pale Moon and Basilisk, and after logging in, this internal function of ebay.de doesn't work.

Image

It works properly with the latest Firefox.

I'll be happy to provide any more information that might be required to help analyse the problem, but I'll need some guidance regarding how to get it.

Thank you.

P.S. I'm not sure if there are other issues.
"And you can believe me because I never lie - and I'm always right."
(Asserted by George Leroy Tirebiter* and my wife; only the latter is telling the truth.)
*Firesign Theater version

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35649
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: ebay.de - internal function problem

Unread post by Moonchild » 2021-05-20, 14:42

This is a known issue.
eBay has already been informed of this (in detail, including what to do to fix) but they don't seem to want to fix it.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
JoeyG
Astronaut
Astronaut
Posts: 655
Joined: 2017-06-12, 13:27
Location: How can you be in two places at once, when you're not anywhere at all?

Re: ebay.de - internal function problem

Unread post by JoeyG » 2021-05-20, 14:52

Oh, please excuse me. I wasn't aware it's already been brought up.

Thanks for the information.
"And you can believe me because I never lie - and I'm always right."
(Asserted by George Leroy Tirebiter* and my wife; only the latter is telling the truth.)
*Firesign Theater version

User avatar
rodndtube
Fanatic
Fanatic
Posts: 122
Joined: 2017-08-30, 13:06

Re: ebay.de - internal function problem

Unread post by rodndtube » 2021-05-21, 19:06

Using eBay is also a problem with Basilisk. If eBay doesn't address the issue then we are SOL using Pale Moon and Basilisk? This must be frustrating. Can this issue be resolved by changing the user agent?

User avatar
Lunokhod
Lunatic
Lunatic
Posts: 469
Joined: 2017-04-20, 21:25

Re: ebay.de - internal function problem

Unread post by Lunokhod » 2021-05-21, 21:11

It's some javascript thing:
viewtopic.php?f=3&t=24450&p=212925&hili ... rn#p212925
It's possible to test if the button is enabled without making a return, providing you didn't proceed further, but it doesn't sound like a user agent would fix it unless an alternate code path was offered as a result, more like something related to how the browser javascript engine interprets presumably faulty code. Although I don't really know personally, that's only my impression from reading Moonchild's answer.
Wait, it's all Ohio? Always has been...

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35649
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: ebay.de - internal function problem

Unread post by Moonchild » 2021-05-22, 08:07

An event handler will have the event reference as a parameter.
ebay's scripting simply needs to use that passed-in event in the handler and not some ambiguous globally defined "event".
But, they are simply refusing to make the necessary change to their scripting which means it will only work in Chrome and workalikes.

i.e.: they are currently using something like:

Code: Select all

function radiobuttonhandler() {
event.preventDefault();
do_something;
}
While they should be using:

Code: Select all

function radiobuttonhandler(ev) {
ev.preventDefault();
do_something;
}
with "event" not being defined, the function will abort on the first line and will never get to do_something (in this case activating the next button)
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

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

Re: ebay.de - internal function problem

Unread post by moonbat » 2021-05-23, 02:09

Is this global event thing some sort of draft Javascript feature, or just Chrome whitewashing sloppy coding habits?
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

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

vannilla
Moon Magic practitioner
Moon Magic practitioner
Posts: 2194
Joined: 2018-05-05, 13:29

Re: ebay.de - internal function problem

Unread post by vannilla » 2021-05-23, 12:31

moonbat wrote:
2021-05-23, 02:09
Is this global event thing some sort of draft Javascript feature, or just Chrome whitewashing sloppy coding habits?
According to MDN is a "deprecated" feature. And it seems to have been introduced by Chrome, if the compatibility table is correct.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35649
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: ebay.de - internal function problem

Unread post by Moonchild » 2021-05-24, 12:44

vannilla wrote:
2021-05-23, 12:31
And it seems to have been introduced by Chrome
No it was an MSIE4 thing.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

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

Re: ebay.de - internal function problem

Unread post by moonbat » 2021-05-24, 13:25

So Chrome enables shitty coding habits introduced by its spiritual ancestor. Lovely :coffee:
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

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