https://catalogue.bm-lyon.fr/ gives blank page
Moderator: trava90
Forum rules
Please always mention the name/domain of the website in question in your topic title.
Please one website per topic thread (to help keep things organized). While behavior on different sites might at first glance seem similar, they are not necessarily caused by the same.
Please try to include any relevant output from the Toolkit Error Console or the Developer Tools Web Console using the following procedure:
Please always mention the name/domain of the website in question in your topic title.
Please one website per topic thread (to help keep things organized). While behavior on different sites might at first glance seem similar, they are not necessarily caused by the same.
Please try to include any relevant output from the Toolkit Error Console or the Developer Tools Web Console using the following procedure:
- Clear any current output
- Navigate or refresh the page in question
- Copy and paste Errors or seemingly relevant Warnings into a single [ code ] block.
-
- Moongazer
- Posts: 13
- Joined: 2019-12-26, 13:32
https://catalogue.bm-lyon.fr/ gives blank page
Hello fellow PM users,
Now library's website https://catalogue.bm-lyon.fr/ doesn't load under Pale Moon. It doesn't work either with Internet Explorer or kmeleon or Seamonkey. It still works with Edge.
But, and this is rather odd, it works with Pale Moon clone (or so I think it is) MyPal.
I sent an email to the library but don't know if hey're going to answer me.
That it works with MyPal but not Pale Moon is the most peculiar to me. I mean, I thought it was just the same browser just a little faster and optimized for Windows XP.
Hope someone can help, or a next Pale Moon update will help fix it. Thanks.
Now library's website https://catalogue.bm-lyon.fr/ doesn't load under Pale Moon. It doesn't work either with Internet Explorer or kmeleon or Seamonkey. It still works with Edge.
But, and this is rather odd, it works with Pale Moon clone (or so I think it is) MyPal.
I sent an email to the library but don't know if hey're going to answer me.
That it works with MyPal but not Pale Moon is the most peculiar to me. I mean, I thought it was just the same browser just a little faster and optimized for Windows XP.
Hope someone can help, or a next Pale Moon update will help fix it. Thanks.
-
- Moon Magic practitioner
- Posts: 2194
- Joined: 2018-05-05, 13:29
Re: https://catalogue.bm-lyon.fr/ gives blank page
The error is:
As for why it works on MyPal maybe it's because of the user agent string.
Code: Select all
SyntaxError: expected expression, got keyword 'import'
-
- Keeps coming back
- Posts: 943
- Joined: 2017-12-14, 12:59
Re: https://catalogue.bm-lyon.fr/ gives blank page
You get the same error with MyPal and as expected the site won't load with it either.vannilla wrote: ↑2021-07-25, 11:06The error is:Code: Select all
SyntaxError: expected expression, got keyword 'import'
I took the extra effort to download MyPal and check since the story smelled fishy to begin with.
Re: https://catalogue.bm-lyon.fr/ gives blank page
Gross. But deception on the part of the XPFucks is not unexpected. Each group is taking turns coming at us it seems so it was only a matter of time before they showed up again.
-
- Moongazer
- Posts: 13
- Joined: 2019-12-26, 13:32
Re: https://catalogue.bm-lyon.fr/ gives blank page
I wondered how to change useragent, in case it was the culprit. Now it no longer works in MyPal. In Mypal I created a string value in the about:config,
general.useragent.override.bm-lyon.fr
with this value
Mozilla/5.0 (Windows NT 5.1; rv:99.9) Gecko/20100101 Firefox/99.9
and it doesn't work either.
Has someone any suggestion as to how to fix this? Thanks
general.useragent.override.bm-lyon.fr
with this value
Mozilla/5.0 (Windows NT 5.1; rv:99.9) Gecko/20100101 Firefox/99.9
and it doesn't work either.
Has someone any suggestion as to how to fix this? Thanks
-
- Moongazer
- Posts: 13
- Joined: 2019-12-26, 13:32
Re: https://catalogue.bm-lyon.fr/ gives blank page
I almost forgot to say, I also downloaded the basilisk browser to make it work on a goanna browser, but it hasn't worked so far. No goanna browser (MyPal, PaleMoon, Kmeleon, Basilisk) could load that webpage.
-
- Pale Moon guru
- Posts: 35648
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: https://catalogue.bm-lyon.fr/ gives blank page
Verified in a supported browser not on XP.
Since for once it's not minified, the problem is the following code:
This fails because even if this code will never run (it's in an if(false) {} block so will never be executed) it still requires the code to properly parse for the interpreter. Especially because they force strict mode ("use strict;" clause).
If the site isn't actually using that code they shouldn't shove it out to browsers, for one. Using import() as a function that way does not work in our engine; it's a reserved keyword. This trips up the parser which in turn aborts the entire script (because something that can't be parsed also can't be executed), which, in turn, delivers a blank page because they do not have any content except the content generated by the (now failing) script.
The webmaster can fix this by not pushing the offending code out to browsers (delete the code I indicated) since it's not in use anyway.
Since for once it's not minified, the problem is the following code:
Code: Select all
// Trick to dispatch events when module is hot reloaded
if (false) {
Promise.all([import('webpack-hot-middleware/client'), import('./redux/globalActions')]).then(function (_ref) {
var _ref2 = _slicedToArray(_ref, 2),
client = _ref2[0],
actions = _ref2[1];
client.subscribeAll(function (event) {
if (event.action == "built") {
store.dispatch(actions.fetchManifest());
}
});
});
}
If the site isn't actually using that code they shouldn't shove it out to browsers, for one. Using import() as a function that way does not work in our engine; it's a reserved keyword. This trips up the parser which in turn aborts the entire script (because something that can't be parsed also can't be executed), which, in turn, delivers a blank page because they do not have any content except the content generated by the (now failing) script.
The webmaster can fix this by not pushing the offending code out to browsers (delete the code I indicated) since it's not in use anyway.
"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
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
-
- Moongazer
- Posts: 13
- Joined: 2019-12-26, 13:32
Re: https://catalogue.bm-lyon.fr/ gives blank page
OK I sent an email to the library - hope they will forward it to the webmaster and he'll change that blocking piece of java script. Thank you for having taken time to analyse what was going wrong,
Re: https://catalogue.bm-lyon.fr/ gives blank page
Why would the lib contact the site?
-
- Astronaut
- Posts: 588
- Joined: 2015-06-01, 12:52
- Location: US Southeast
Re: https://catalogue.bm-lyon.fr/ gives blank page
Because the library commissioned the web site and would be the first point of contact when trying to report an issue with the web site of the library (physical books library).
Heck, maybe the web site was created by the library staff themselves...
-
- Pale Moon guru
- Posts: 35648
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: https://catalogue.bm-lyon.fr/ gives blank page
library as in a physical library, Tobin. You know, a place that has and lends out books?
"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
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
-
- Pale Moon guru
- Posts: 35648
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: https://catalogue.bm-lyon.fr/ gives blank page
Yes, and real ink! Sometimes even pictures you can't just copy at will!
"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
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
-
- Moongazer
- Posts: 13
- Joined: 2019-12-26, 13:32
Re: https://catalogue.bm-lyon.fr/ gives blank page
Sorry for not having made that clear. It's a library's website I'm having these problems with - the library of the city of Lyon in France. I can no longer access their catalog.
-
- Moongazer
- Posts: 13
- Joined: 2019-12-26, 13:32
Re: https://catalogue.bm-lyon.fr/ gives blank page
Dear all,
I had the same problem with Seamonkey. But I have just solved it by spoofing the User Agent.
about:config
New string
general.useragent.override
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0
I wonder if the way to spoof the user agent is the same in Pale Moon? (actually I use MyPal but I consider it and pale moon are twins)
I had the same problem with Seamonkey. But I have just solved it by spoofing the User Agent.
about:config
New string
general.useragent.override
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0
I wonder if the way to spoof the user agent is the same in Pale Moon? (actually I use MyPal but I consider it and pale moon are twins)
-
- Keeps coming back
- Posts: 943
- Joined: 2017-12-14, 12:59
Re: https://catalogue.bm-lyon.fr/ gives blank page
No need to spoof the user agent. The site seems to work so far. Tested with Pale Moon 29.4.2.1, something you could have done before posting.BenUpsakin wrote: ↑2021-11-26, 10:33I wonder if the way to spoof the user agent is the same in Pale Moon?
-
- Moon Magic practitioner
- Posts: 2986
- Joined: 2015-09-26, 04:51
- Location: U.S.
Re: https://catalogue.bm-lyon.fr/ gives blank page
The site loaded here as well, though quite slowly, it took at least a full minute.
Got same result with both Compat and Native UA modes.
Error console showed nothing.
1. Read the release notes (archived) for Pale Moon v28.17.0 (2020-12-18) that describe changes to how that's done.
2. More importantly - Why spoof globally when you're trying to affect just ONE domain?
UA spoofing can be site-specific:
general.useragent.override.somedomain.com
your string
MyPal is not supported on this forum. Please don't seek support for MyPal here in future.
Got same result with both Compat and Native UA modes.
Error console showed nothing.
For info (since it seems entirely unnecessary for this site):
1. Read the release notes (archived) for Pale Moon v28.17.0 (2020-12-18) that describe changes to how that's done.
2. More importantly - Why spoof globally when you're trying to affect just ONE domain?
UA spoofing can be site-specific:
general.useragent.override.somedomain.com
your string
YOU might think like that, but the developers of this project don't.BenUpsakin wrote: ↑2021-11-26, 10:33(actually I use MyPal but I consider it and pale moon are twins)
MyPal is not supported on this forum. Please don't seek support for MyPal here in future.
-
- Pale Moon guru
- Posts: 35648
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: https://catalogue.bm-lyon.fr/ gives blank page
Please don't waste people's time here by asking for support for a different browser.
Pale Moon and Mypal are not twins. Don't assume they are just because the GUI looks similar.
Pale Moon and Mypal are not twins. Don't assume they are just because the GUI looks similar.
"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
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite