Javascript issues on websites?

The place to report Pale Moon specific bugs on the Windows operating system.

Moderator: satrow

SGvagon
Astronaut
Astronaut
Posts: 560
Joined: 2013-02-16, 13:33
Location: Czech Republic - Slavonice
Contact:

Javascript issues on websites?

Unread post by SGvagon » 2019-11-10, 22:24

Hello,

I have issues with javascript on few websites (i can't click on links for open something) . For. ex. on Lenovo website I can't download any driver for Lenovo laptops, because I can't roll up/open any driver to get download them https://pcsupport.lenovo.com/us/en/prod ... river-list (click on Manual Update and then try click on any driver, it does not work) . Weird is, that this links on driver sometimes works (I can click on it) . In other browsers (IE, Firefox, Chrome, ... ) I can click on driver normally.
cant_click2.PNG

Second website, where I have clicking issues on links is Czech https://indian-tv.cz/ website. After log in, I can't click on my avatar icon, search, points, bell icon, ... I wrote to them on their Facebook support, but they said me, that they did maximum for, to make it work :crazy: . (They know, that their website not working on IE, but other browsers should work) .
cant_click.PNG

Thank you in advance.

rereser
Hobby Astronomer
Hobby Astronomer
Posts: 17
Joined: 2019-08-02, 12:49

Re: Javascript issues on websites?

Unread post by rereser » 2019-11-11, 07:16

see here for the lenovo site.
viewtopic.php?f=3&t=23019
can't comment on the other site.

coffeebreak
Board Warrior
Board Warrior
Posts: 1913
Joined: 2015-09-26, 04:51
Location: U.S.

Re: Javascript issues on websites?

Unread post by coffeebreak » 2019-11-11, 07:38

SGvagon wrote:
2019-11-10, 22:24
Lenovo website
No problem here downloading drivers.
Also no problem clicking the arrows to display more info, which was the problem complained of in the thread linked just above. I don't have a UA override for lenovo.com, and things worked equally well for me in Native and FF Compat user agent modes. (PM 28.7.2, Win 7 x86)

SGvagon
Astronaut
Astronaut
Posts: 560
Joined: 2013-02-16, 13:33
Location: Czech Republic - Slavonice
Contact:

Re: Javascript issues on websites?

Unread post by SGvagon » 2019-11-11, 14:17

coffeebreak: As I said, sometimes works for me too, but after reload page it doesn't work again.
EDIT: Oh I found it, I must click below the text, in this area clicking works. Strange.
Area_click.PNG

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 24822
Joined: 2011-08-28, 17:27
Location: 58°2'16"N 14°58'31"E
Contact:

Re: Javascript issues on websites?

Unread post by Moonchild » 2019-11-11, 15:50

Oh let me guess, they are using anchor links inside button elements again?
"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne
Image

SGvagon
Astronaut
Astronaut
Posts: 560
Joined: 2013-02-16, 13:33
Location: Czech Republic - Slavonice
Contact:

Re: Javascript issues on websites?

Unread post by SGvagon » 2019-11-11, 17:01

Moonchild: It same on the Czech indian website as I posted. If I click to the blank space, profile/avatar button works :eh: .
blank_space_click.PNG
And the bell icon and search works, when I click upper the icons. Clicking on the icons not working.
search_upper_click.PNG

coffeebreak
Board Warrior
Board Warrior
Posts: 1913
Joined: 2015-09-26, 04:51
Location: U.S.

Re: Javascript issues on websites?

Unread post by coffeebreak » 2019-11-11, 18:09

For Lenovo, clicking anywhere in the slightly "highlighted" outlined rectangle around the driver category, including but not limited to the icon, label and other text, works reliably for me.
lenovo.png

SGvagon
Astronaut
Astronaut
Posts: 560
Joined: 2013-02-16, 13:33
Location: Czech Republic - Slavonice
Contact:

Re: Javascript issues on websites?

Unread post by SGvagon » 2019-11-11, 19:36

coffeebreak: For me it only works red shape area as I posted before. Other blank space in rectangle only highlight the text (when I double click on it) .

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 24822
Joined: 2011-08-28, 17:27
Location: 58°2'16"N 14°58'31"E
Contact:

Re: Javascript issues on websites?

Unread post by Moonchild » 2019-11-12, 09:28

On the Lenovo site (which is the only one I can examine), the problem seems to be that the containing DIV has a click event handler, and they expect the event handler to be inherited by contained DIVs. For this to work, according to the specification, the script needs to specify the useCapture parameter (or capture parameter in the options json object) when registering the event listener to the parent object. I'm guessing that they aren't.
"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne
Image

Post Reply