Problems with Javascript at 'www.huk24.de'
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.
Problems with Javascript at 'www.huk24.de'
The website www.huk24.de breaks because of some javascript error unrelated to the extension (the website doesn't load even without any extension active), i.e. Pale Moon shows a broken view in normal and even in the secured mode. Using e.g. the Edge browser there are no problems. It's obviously the browser and not any add-on.
-
- Pale Moon guru
- Posts: 37676
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: Problems with Javascript at 'www.huk24.de'
TL;DR learn2code+learn2admin
The console displays 2 errors. Neither of them are our issue and need to be solved by the webmaster.
First:
they use import keywords first, then inside a function they use it as an object. programmer error. or perhaps their minification of the script totally mangled it
Second:
Wrong mime type declared for imported scripts. Scripts need to be declared as "text/javascript" not "application/x-javascript" since it's not external, aside from the fact that "application/x-javascript" isn't a valid IANA MIME type. Since "nosniff" is also declared, we aren't allowed to make guesses about the MIME type other than what is declared.
Perhaps their McAfee web gateway is as fault since it seems to serve everything through that.
The console displays 2 errors. Neither of them are our issue and need to be solved by the webmaster.
First:
Code: Select all
SyntaxError: expected expression, got keyword 'import'[Learn More]
Second:
Code: Select all
Script from “https://www.huk24.de/dcs/hukch24prototypedev/1/JS-2.20.0-LAWA/s62169880419949?DQB=1& ... &mcorgid=BB193DD8560D04BA7F000101%40AdobeOrg&DQE=1” was blocked because of a disallowed MIME type.
Perhaps their McAfee web gateway is as fault since it seems to serve everything through that.
"A dead end street is a place to turn around and go into a new direction" - Anonymous
"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
Re: Problems with Javascript at 'www.huk24.de'
Maybe, but (almost) all other common browsers show this website without errors. A request to the webmaster confirms this. His suggestion: Use a 'current' browser.
-
- Pale Moon guru
- Posts: 37676
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: Problems with Javascript at 'www.huk24.de'
So I just wasted my time analyzing the webmaster's errors. OK.
I'm sorry but I'm not going to break Pale Moon's MIME type compliance to cater to bad administration.
I'm sorry but I'm not going to break Pale Moon's MIME type compliance to cater to bad administration.
"A dead end street is a place to turn around and go into a new direction" - Anonymous
"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
-
- Board Warrior
- Posts: 1273
- Joined: 2017-06-06, 07:38
Re: Problems with Javascript at 'www.huk24.de'
Webmaster knows shit. Ask him to take some lessons (not online) from real people.Waldbronner wrote: ↑2020-10-07, 09:23Maybe, but (almost) all other common browsers show this website without errors. A request to the webmaster confirms this. His suggestion: Use a 'current' browser.
Re: Problems with Javascript at 'www.huk24.de'
OK, thanks for the evaluation. I'm not an expert and can only describe the problem from the user's point of view. The fact is that other browsers are obviously more fault-tolerant. Sorry, if anybody should feel I had trodden on their expert toes 

-
- Project Contributor
- Posts: 311
- Joined: 2020-03-02, 16:04
Re: Problems with Javascript at 'www.huk24.de'
Allowing standard violations and mistake errors is not fault-tolerance.
Re: Problems with Javascript at 'www.huk24.de'
It really isn't. We used to have diversity in the browser market that webmasters, any worth their salt, would reasonably ensure nearly if not complete compatibility with quirks and standards scross a spectrum. Of course in the Google Monoculture it is up to the people to MAKE them do the job they signed up for. So go, bombard reason and history at them. Perhaps you will get a few converts who aren't too weak and scared to actually use reason and logic to resolve issues rather than pandering to the lowest common denominator and their Google Overloards.
At this point, if webmasters and members of the corporate web DON'T accede to historical precedent, non-Google-only standards, and logic then you should seriously consider if this is something or these are people you want to do business with.
There is a common phrase.. vote with your dollars.. However with the massive amount of communist destruction going on even businesses tend to not care even about their own bottom line. See: Mozilla as an early example most of us are exceedingly familiar with. I think you should rather consider in this tech focused world to vote with your usage.
At this point, if webmasters and members of the corporate web DON'T accede to historical precedent, non-Google-only standards, and logic then you should seriously consider if this is something or these are people you want to do business with.
There is a common phrase.. vote with your dollars.. However with the massive amount of communist destruction going on even businesses tend to not care even about their own bottom line. See: Mozilla as an early example most of us are exceedingly familiar with. I think you should rather consider in this tech focused world to vote with your usage.
-
- Knows the dark side
- Posts: 5590
- Joined: 2015-12-09, 15:45
Re: Problems with Javascript at 'www.huk24.de'
They can afford to ignore us because the vast majority of s⃫h⃫e⃫e⃫p⃫ people vote for them with their dollars/attention.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Jabber: moonbat@hot-chili.net

KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Jabber: moonbat@hot-chili.net
-
- Apollo supporter
- Posts: 32
- Joined: 2020-02-01, 16:29
Re: Problems with Javascript at 'www.huk24.de'
I looked at this and looks like implementing dynamic module import and import.meta may fix displaying site a little. That can be easily confirmed on Firefox by toggling javascript.options.dynamicImport. In case of that error with MIME, I don't see them.
Re: Problems with Javascript at 'www.huk24.de'
Thanks for this hint. However, I cannot find the option 'javascript.options.dynamicImport' under about:config.
After creating this as a new key neither TRUE nor FALSE will have any effect in Palemoon browser.
After creating this as a new key neither TRUE nor FALSE will have any effect in Palemoon browser.
-
- Board Warrior
- Posts: 1006
- Joined: 2017-12-14, 12:59
Re: Problems with Javascript at 'www.huk24.de'
Unfortunately you got it wrong. The hint wasn't addressed to you.Waldbronner wrote: ↑2020-10-12, 10:25Thanks for this hint. However, I cannot find the option 'javascript.options.dynamicImport' under about:config.
'javascript.options.dynamicImport' isn't implemented in Pale Moon.