Javascript issues on websites?

The place to report Pale Moon specific bugs on the Windows operating system.
SGvagon
Astronaut
Astronaut
Posts: 585
Joined: 2013-02-16, 13:33
Location: Czech Republic - Slavonice
Contact:

Javascript issues on websites?

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: 19
Joined: 2019-08-02, 12:49

Re: Javascript issues on websites?

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
Moon Magic practitioner
Moon Magic practitioner
Posts: 2084
Joined: 2015-09-26, 04:51
Location: U.S.

Re: Javascript issues on websites?

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: 585
Joined: 2013-02-16, 13:33
Location: Czech Republic - Slavonice
Contact:

Re: Javascript issues on websites?

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: 25807
Joined: 2011-08-28, 17:27
Location: 58°2'16"N 14°58'31"E
Contact:

Re: Javascript issues on websites?

Post by Moonchild » 2019-11-11, 15:50

Oh let me guess, they are using anchor links inside button elements again?
"There will be times when the position you advocate, no matter how well framed and supported, will not be accepted by the public simply because you are who you are." -- Merrill Rose
Image

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

Re: Javascript issues on websites?

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
Moon Magic practitioner
Moon Magic practitioner
Posts: 2084
Joined: 2015-09-26, 04:51
Location: U.S.

Re: Javascript issues on websites?

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: 585
Joined: 2013-02-16, 13:33
Location: Czech Republic - Slavonice
Contact:

Re: Javascript issues on websites?

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: 25807
Joined: 2011-08-28, 17:27
Location: 58°2'16"N 14°58'31"E
Contact:

Re: Javascript issues on websites?

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.
"There will be times when the position you advocate, no matter how well framed and supported, will not be accepted by the public simply because you are who you are." -- Merrill Rose
Image

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

Re: Javascript issues on websites?

Post by SGvagon » 2019-11-16, 18:35

But where is the problem? On the sites or in Palemoon? Lenovo site works for me i n any other browser, only in Palemoon I have this issue.

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

Re: Javascript issues on websites?

Post by Moonchild » 2019-11-16, 20:41

As far as I can tell it is a problem on the site, since we're doing things according to specification.
"There will be times when the position you advocate, no matter how well framed and supported, will not be accepted by the public simply because you are who you are." -- Merrill Rose
Image

User avatar
WilliamK
Fanatic
Fanatic
Posts: 184
Joined: 2018-02-23, 06:51

Re: Javascript issues on websites?

Post by WilliamK » 2019-11-17, 01:02

I have come across some sites that I could not log into or select options in Pale Moon. But when I change to Chrome, those functions start working.

The problem may not so much be with Pale Moon, but the fact that far too many developers think that Chrome is the only web browser and cater for that browser only. Personally, I think that what Chrome now allows with JavaScript poses a security problem and it's all about maximizing their monetization.

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

Re: Javascript issues on websites?

Post by SGvagon » 2019-11-18, 17:21

WilliamK: Strange is, that Lenovo site works in IE too.

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

Re: Javascript issues on websites?

Post by Moonchild » 2019-11-18, 19:20

Whatever lenovo is using does UA sniffing and assumes specific web API feature sets based on it. Feeding them a really old Firefox version does the trick.
The following override seems to work:
general.useragent.override.lenovo.com;Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0
"There will be times when the position you advocate, no matter how well framed and supported, will not be accepted by the public simply because you are who you are." -- Merrill Rose
Image

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

Re: Javascript issues on websites?

Post by SGvagon » 2020-02-18, 22:21

Hm, on https://openweathermap.org/ when I click on any city, weather not load.
And on https://weather.com/ I can't click on search form (same or similar issue as on czech indian site or lenovo site) . I think the all header not work on this site :| .

Are these issues are on their websites or somewhere else?

User avatar
Night Wing
Knows the dark side
Knows the dark side
Posts: 4096
Joined: 2011-10-03, 10:19
Location: Texas, USA

Re: Javascript issues on websites?

Post by Night Wing » 2020-02-18, 23:38

SGvagon wrote:
2020-02-18, 22:21
And on https://weather.com/ I can't click on search form (same or similar issue as on czech indian site or lenovo site) . I think the all header not work on this site
I can't comment on the "open weather" site since I don't use it.

But on the "weather.com" site, the search form works for me since I typed in "Houston" and lots of different cities showed up and I clicked on Houston, Tx and the page for Houston, Tx came up and rendered properly. The weather radar buttons work for me as well.

But I will say, since I do use the Weather Channel site, I had to use a different user agent. The codes are below.

Code: Select all

general.useragent.override.polyfill.io

Code: Select all

Mozilla/5.0 (Windows NT 6.1; WOW64; rv:73.0) Gecko/20100101 Firefox/73.0
And on this windows hard drive, which I hardly don't use anymore but I update the programs on it, this hard drive is running 64 bit windows Pale Moon 28.8.3 running in 64 bit Windows 7, SP1 so if you are running Windows 7, this might solve your problem.
Linux Mint 19.3 (Tricia) Xfce 64 Bit with 64 Bit linux Pale Moon

doofy
Astronaut
Astronaut
Posts: 618
Joined: 2017-08-14, 23:43

Re: Javascript issues on websites?

Post by doofy » 2020-02-18, 23:40

For weather.com:

viewtopic.php?f=3&t=23592&p=181596#p181591

Since your first url also uses polyfill.io, I assume it might be the same problem.

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

Re: Javascript issues on websites?

Post by Moonchild » 2020-02-18, 23:42

Using search for weather.com would have brought up the discussions already had about it.
It's not a JS issue. They are just not using a current version of the polyfill lib that recognizes Pale Moon.
"There will be times when the position you advocate, no matter how well framed and supported, will not be accepted by the public simply because you are who you are." -- Merrill Rose
Image

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

Re: Javascript issues on websites?

Post by SGvagon » 2020-02-19, 00:38

Night Wing wrote:
2020-02-18, 23:38
I can't comment on the "open weather" site since I don't use it.

But on the "weather.com" site, the search form works for me since I typed in "Houston" and lots of different cities showed up and I clicked on Houston, Tx and the page for Houston, Tx came up and rendered properly. The weather radar buttons work for me as well.

But I will say, since I do use the Weather Channel site, I had to use a different user agent. The codes are below.

Code: Select all

general.useragent.override.polyfill.io

Code: Select all

Mozilla/5.0 (Windows NT 6.1; WOW64; rv:73.0) Gecko/20100101 Firefox/73.0
And on this windows hard drive, which I hardly don't use anymore but I update the programs on it, this hard drive is running 64 bit windows Pale Moon 28.8.3 running in 64 bit Windows 7, SP1 so if you are running Windows 7, this might solve your problem.
Yes, this useragent worked on weather.com :-) . Now search and rest of header works.
Now, how to resolve Open weather map :?: .

User avatar
Kathuluforz
Fanatic
Fanatic
Posts: 161
Joined: 2019-06-13, 13:42
Location: Montana

Re: Javascript issues on websites?

Post by Kathuluforz » 2020-02-19, 01:22

The open weather site works fine for me, I did have to allow all in UBO and eMatrix and accept cookies and share location, also FF compatibility user agent.
If what you are talking about is the "click on city and get a small forecast? see pic
OWExamp.jpg
Everything else I have so far tried there works for me, though I have not fully tested the site yet.
Edit: Additionally when I started to explore this site more it tried to install something :evil: Which I immediately declined.
My advice would be to not use that site...sneaky shite like that should not be tolerated imo.
Pale Moon 28.8.3 (64) Win7 pro (64)

“It’s not what you are underneath. It’s what you do that defines you.”~Batman

Post Reply