Page 1 of 2

Javascript issues on websites?

Posted: 2019-11-10, 22:24
by SGvagon
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.

Re: Javascript issues on websites?

Posted: 2019-11-11, 07:16
by rereser
see here for the lenovo site.
viewtopic.php?f=3&t=23019
can't comment on the other site.

Re: Javascript issues on websites?

Posted: 2019-11-11, 07:38
by coffeebreak
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)

Re: Javascript issues on websites?

Posted: 2019-11-11, 14:17
by SGvagon
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

Re: Javascript issues on websites?

Posted: 2019-11-11, 15:50
by Moonchild
Oh let me guess, they are using anchor links inside button elements again?

Re: Javascript issues on websites?

Posted: 2019-11-11, 17:01
by SGvagon
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

Re: Javascript issues on websites?

Posted: 2019-11-11, 18:09
by coffeebreak
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

Re: Javascript issues on websites?

Posted: 2019-11-11, 19:36
by SGvagon
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) .

Re: Javascript issues on websites?

Posted: 2019-11-12, 09:28
by Moonchild
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.

Re: Javascript issues on websites?

Posted: 2019-11-16, 18:35
by SGvagon
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.

Re: Javascript issues on websites?

Posted: 2019-11-16, 20:41
by Moonchild
As far as I can tell it is a problem on the site, since we're doing things according to specification.

Re: Javascript issues on websites?

Posted: 2019-11-17, 01:02
by Pelican
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.

Re: Javascript issues on websites?

Posted: 2019-11-18, 17:21
by SGvagon
WilliamK: Strange is, that Lenovo site works in IE too.

Re: Javascript issues on websites?

Posted: 2019-11-18, 19:20
by Moonchild
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

Re: Javascript issues on websites?

Posted: 2020-02-18, 22:21
by SGvagon
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?

Re: Javascript issues on websites?

Posted: 2020-02-18, 23:38
by Night Wing
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.

Re: Javascript issues on websites?

Posted: 2020-02-18, 23:40
by doofy
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.

Re: Javascript issues on websites?

Posted: 2020-02-18, 23:42
by Moonchild
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.

Re: Javascript issues on websites?

Posted: 2020-02-19, 00:38
by SGvagon
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 :?: .

Re: Javascript issues on websites?

Posted: 2020-02-19, 01:22
by THX-1139
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.