Unable to view specific website

Talk about code development, features, specific bugs, enhancements, patches, and similar things.
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.

This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.

Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
hellofriend3825

Unable to view specific website

Unread post by hellofriend3825 » 2018-05-13, 09:29

I am running Pale Moon 27.9.1 on Windows 10.

I wish to refer you to the below URL:

https://www.lazada.sg/products/panasoni ... 7&search=1

There is totally nothing displayed on the screen. This applies to other webpages of Lazada's website. By the way, I am currently using Microsoft Edge to view this website. However, I wish to use PM for browsing all websites. Please advise if there is a way to solve this issue. Thanks.

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

Re: Unable to view specific website

Unread post by Moonchild » 2018-05-13, 10:59

Unfortunately the site is not very browser-agnostic and throws many javascript errors, which seems to be a result of a mix of obsolete js standard scripting and using a bleeding edge framework at the same time.
I don't think there is a solution for this at the moment -- with the new milestone (28) to be released later this year, you may have more luck.

Code: Select all

calling a builtin ArrayBuffer constructor without new is deprecated and will be forbidden in ES6 0.0.2:2:9126
calling a builtin typed array constructor without new is deprecated and will be forbidden in ES6 0.0.2:2:5995
mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create next.min.js:10:5522
TypeError: t.forEach is not a function
Stack trace:
z</t.prototype.updateStarCtn@https://laz-g-cdn.alicdn.com/lzdfe/pdp-modules/0.2.1/pc-mod.js:1:1188265
z</t.prototype.componentDidMount@https://laz-g-cdn.alicdn.com/lzdfe/pdp-modules/0.2.1/pc-mod.js:1:1187159
dg/<.commitLifeCycles@https://laz-g-cdn.alicdn.com/lzd/assets/0.0.2/??babel-polyfill/6.26.0/polyfill.min.js,react/16.2.0/react.production.min.js,react-dom/16.2.0/react-dom.production.min.js:173:487
b@https://laz-g-cdn.alicdn.com/lzd/assets/0.0.2/??babel-polyfill/6.26.0/polyfill.min.js,react/16.2.0/react.production.min.js,react-dom/16.2.0/react-dom.production.min.js:181:29
t@https://laz-g-cdn.alicdn.com/lzd/assets/0.0.2/??babel-polyfill/6.26.0/polyfill.min.js,react/16.2.0/react.production.min.js,react-dom/16.2.0/react-dom.production.min.js:192:47
x@https://laz-g-cdn.alicdn.com/lzd/assets/0.0.2/??babel-polyfill/6.26.0/polyfill.min.js,react/16.2.0/react.production.min.js,react-dom/16.2.0/react-dom.production.min.js:191:247
r@https://laz-g-cdn.alicdn.com/lzd/assets/0.0.2/??babel-polyfill/6.26.0/polyfill.min.js,react/16.2.0/react.production.min.js,react-dom/16.2.0/react-dom.production.min.js:189:368
v@https://laz-g-cdn.alicdn.com/lzd/assets/0.0.2/??babel-polyfill/6.26.0/polyfill.min.js,react/16.2.0/react.production.min.js,react-dom/16.2.0/react-dom.production.min.js:188:278
Te/<.updateContainer@https://laz-g-cdn.alicdn.com/lzd/assets/0.0.2/??babel-polyfill/6.26.0/polyfill.min.js,react/16.2.0/react.production.min.js,react-dom/16.2.0/react-dom.production.min.js:197:31
Hb/<@https://laz-g-cdn.alicdn.com/lzd/assets/0.0.2/??babel-polyfill/6.26.0/polyfill.min.js,react/16.2.0/react.production.min.js,react-dom/16.2.0/react-dom.production.min.js:108:450
gg/<.unbatchedUpdates@https://laz-g-cdn.alicdn.com/lzd/assets/0.0.2/??babel-polyfill/6.26.0/polyfill.min.js,react/16.2.0/react.production.min.js,react-dom/16.2.0/react-dom.production.min.js:194:269
Hb@https://laz-g-cdn.alicdn.com/lzd/assets/0.0.2/??babel-polyfill/6.26.0/polyfill.min.js,react/16.2.0/react.production.min.js,react-dom/16.2.0/react-dom.production.min.js:108:420
Ye.render@https://laz-g-cdn.alicdn.com/lzd/assets/0.0.2/??babel-polyfill/6.26.0/polyfill.min.js,react/16.2.0/react.production.min.js,react-dom/16.2.0/react-dom.production.min.js:216:247
o/<@https://laz-g-cdn.alicdn.com/lzdfe/pdp-platform/0.1.6/pc.js:1:15018
[209]</k/</<@https://laz-g-cdn.alicdn.com/lzd/assets/0.0.2/??babel-polyfill/6.26.0/polyfill.min.js,react/16.2.0/react.production.min.js,react-dom/16.2.0/react-dom.production.min.js:2:29463
[209]</k/<@https://laz-g-cdn.alicdn.com/lzd/assets/0.0.2/??babel-polyfill/6.26.0/polyfill.min.js,react/16.2.0/react.production.min.js,react-dom/16.2.0/react-dom.production.min.js:2:29333
[68]</n.exports/f@https://laz-g-cdn.alicdn.com/lzd/assets/0.0.2/??babel-polyfill/6.26.0/polyfill.min.js,react/16.2.0/react.production.min.js,react-dom/16.2.0/react-dom.production.min.js:1:19861
 0.0.2:187:309

"Unhandled promise rejection" TypeError: t.forEach is not a function
Stack trace:
z</t.prototype.updateStarCtn@https://laz-g-cdn.alicdn.com/lzdfe/pdp-modules/0.2.1/pc-mod.js:1:1188265
z</t.prototype.componentDidMount@https://laz-g-cdn.alicdn.com/lzdfe/pdp-modules/0.2.1/pc-mod.js:1:1187159
dg/<.commitLifeCycles@https://laz-g-cdn.alicdn.com/lzd/assets/0.0.2/??babel-polyfill/6.26.0/polyfill.min.js,react/16.2.0/react.production.min.js,react-dom/16.2.0/react-dom.production.min.js:173:487
b@https://laz-g-cdn.alicdn.com/lzd/assets/0.0.2/??babel-polyfill/6.26.0/polyfill.min.js,react/16.2.0/react.production.min.js,react-dom/16.2.0/react-dom.production.min.js:181:29
t@https://laz-g-cdn.alicdn.com/lzd/assets/0.0.2/??babel-polyfill/6.26.0/polyfill.min.js,react/16.2.0/react.production.min.js,react-dom/16.2.0/react-dom.production.min.js:192:47
x@https://laz-g-cdn.alicdn.com/lzd/assets/0.0.2/??babel-polyfill/6.26.0/polyfill.min.js,react/16.2.0/react.production.min.js,react-dom/16.2.0/react-dom.production.min.js:191:247
r@https://laz-g-cdn.alicdn.com/lzd/assets/0.0.2/??babel-polyfill/6.26.0/polyfill.min.js,react/16.2.0/react.production.min.js,react-dom/16.2.0/react-dom.production.min.js:189:368
v@https://laz-g-cdn.alicdn.com/lzd/assets/0.0.2/??babel-polyfill/6.26.0/polyfill.min.js,react/16.2.0/react.production.min.js,react-dom/16.2.0/react-dom.production.min.js:188:278
Te/<.updateContainer@https://laz-g-cdn.alicdn.com/lzd/assets/0.0.2/??babel-polyfill/6.26.0/polyfill.min.js,react/16.2.0/react.production.min.js,react-dom/16.2.0/react-dom.production.min.js:197:31
Hb/<@https://laz-g-cdn.alicdn.com/lzd/assets/0.0.2/??babel-polyfill/6.26.0/polyfill.min.js,react/16.2.0/react.production.min.js,react-dom/16.2.0/react-dom.production.min.js:108:450
gg/<.unbatchedUpdates@https://laz-g-cdn.alicdn.com/lzd/assets/0.0.2/??babel-polyfill/6.26.0/polyfill.min.js,react/16.2.0/react.production.min.js,react-dom/16.2.0/react-dom.production.min.js:194:269
Hb@https://laz-g-cdn.alicdn.com/lzd/assets/0.0.2/??babel-polyfill/6.26.0/polyfill.min.js,react/16.2.0/react.production.min.js,react-dom/16.2.0/react-dom.production.min.js:108:420
Ye.render@https://laz-g-cdn.alicdn.com/lzd/assets/0.0.2/??babel-polyfill/6.26.0/polyfill.min.js,react/16.2.0/react.production.min.js,react-dom/16.2.0/react-dom.production.min.js:216:247
o/<@https://laz-g-cdn.alicdn.com/lzdfe/pdp-platform/0.1.6/pc.js:1:15018
[209]</k/</<@https://laz-g-cdn.alicdn.com/lzd/assets/0.0.2/??babel-polyfill/6.26.0/polyfill.min.js,react/16.2.0/react.production.min.js,react-dom/16.2.0/react-dom.production.min.js:2:29463
[209]</k/<@https://laz-g-cdn.alicdn.com/lzd/assets/0.0.2/??babel-polyfill/6.26.0/polyfill.min.js,react/16.2.0/react.production.min.js,react-dom/16.2.0/react-dom.production.min.js:2:29333
[68]</n.exports/f@https://laz-g-cdn.alicdn.com/lzd/assets/0.0.2/??babel-polyfill/6.26.0/polyfill.min.js,react/16.2.0/react.production.min.js,react-dom/16.2.0/react-dom.production.min.js:1:19861
 0.0.2:2:29805

The site specified an invalid Strict-Transport-Security header.[Learn More] count
The site specified an invalid Strict-Transport-Security header.[Learn More] getUser
The site specified an invalid Strict-Transport-Security header.[Learn More] recentOrders
"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

coffeebreak
Moon Magic practitioner
Moon Magic practitioner
Posts: 2986
Joined: 2015-09-26, 04:51
Location: U.S.

Re: Unable to view specific website

Unread post by coffeebreak » 2018-05-13, 14:07

Lazada.sg displays fine for me in Pale Moon in Native mode (and with scripts allowed from alicdn.com).
(Firefox compatibility mode -> nearly blank screen.)
lazada1.png
lazada2.png

Compatmode settings: Preferences > Advanced > General tab > Compatibility/User Agent Mode:
change-UAmodes.png

(PM 27.9.1, Win 7 x86)

User avatar
rabnbeinn
Lunatic
Lunatic
Posts: 350
Joined: 2011-11-18, 20:38
Location: Scotland

Re: Unable to view specific website

Unread post by rabnbeinn » 2018-05-13, 14:31

Site loads for me, as do other pages on the site.

Win 8.1 (x64)
PM 27.9.1 (x64)
UAM: Native

Nightbird
Lunatic
Lunatic
Posts: 279
Joined: 2016-07-18, 21:12

Re: Unable to view specific website

Unread post by Nightbird » 2018-05-13, 15:19

@ hellofriend3825

You have the choice about the solution : user agent mode native or an override string
viewtopic.php?f=3&t=18825

Pale Moon Rising explained very well how you can override for this site
Last edited by Nightbird on 2018-05-13, 15:28, edited 1 time in total.
Diversity is key.

Those who forget the past are doomed to repeat it.

hellofriend3825

Re: Unable to view specific website

Unread post by hellofriend3825 » 2018-05-14, 03:48

Thanks all for your advice. The Lazada webpages now display correctly in "native" mode.

I have got 2 questions:
(1) Do I need to revert to the default "Firefox compatibility" mode after viewing this Lazada website?
(2) There must be some differences between between the "Native" mode and "Firefox Compatibility" mode, what are these differences?

hellofriend3825

Re: Unable to view specific website

Unread post by hellofriend3825 » 2018-05-14, 06:06

I have now reverted to the default Firefox Compatibility mode but have also implemented the override string for this Lazada website suggested by Pale Moon Rising in an earlier post. Thanks.

User avatar
adesh
Board Warrior
Board Warrior
Posts: 1277
Joined: 2017-06-06, 07:38

Re: Unable to view specific website

Unread post by adesh » 2018-05-14, 13:23

hellofriend3825 wrote:(1) Do I need to revert to the default "Firefox compatibility" mode after viewing this Lazada website?
It's up to you. I, like may other, always run the browser in Native mode and rarely encounter any issues. It also helps in establishing Pale Moon as a "thing" on the planet.
hellofriend3825 wrote:(2) There must be some differences between between the "Native" mode and "Firefox Compatibility" mode, what are these differences?
Difference is just the change in user agent string, basically telling websites what software you are running. Nothing changes functionality wise in the browser, but some (many) websites may use this information to treat you differently, i.e. offer different content, give unsupported browser warning, or refuse to serve you completely.
https://en.wikipedia.org/wiki/User_agent

hellofriend3825

Re: Unable to view specific website

Unread post by hellofriend3825 » 2018-05-14, 16:58

Thanks Adesh for the explanation.

Locked