wrong popup e.g. on http://forum.milanotrasporti.org
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.
-
Lucio Chiappetti
- Keeps coming back

- Posts: 875
- Joined: 2014-09-01, 15:11
- Location: Milan Italy
wrong popup e.g. on http://forum.milanotrasporti.org
I mentioned this problem already in https://forum.palemoon.org/viewtopic.ph ... 8cb77e3f62
Since then a similar problem occurred occasionally on other sites (and usuallly not even on html files but pdf files), last is in this forum post http://forum.milanotrasporti.org/viewto ... 60#p657613. If I click on the link there I get this popup Incidentally the file is a pdf file, not HTML.
No errors in the error console. Tried also with restart in safe mode, and even with a fresh profile. I always get the wrong popup.
BTW other links on the same forum give a correct popup for pdf
Since then a similar problem occurred occasionally on other sites (and usuallly not even on html files but pdf files), last is in this forum post http://forum.milanotrasporti.org/viewto ... 60#p657613. If I click on the link there I get this popup Incidentally the file is a pdf file, not HTML.
No errors in the error console. Tried also with restart in safe mode, and even with a fresh profile. I always get the wrong popup.
BTW other links on the same forum give a correct popup for pdf
You do not have the required permissions to view the files attached to this post.
The reasonable man adapts himself to the world: the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. (G.B. Shaw)
-
Moonchild
- Project founder

- Posts: 38690
- Joined: 2011-08-28, 17:27
- Location: Sweden
Re: wrong popup e.g. on http://forum.milanotrasporti.org
Works just fine for me.
You do not have the required permissions to view the files attached to this post.
"There is no point in arguing with an idiot, because then you're both idiots." - 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
-
Lucio Chiappetti
- Keeps coming back

- Posts: 875
- Joined: 2014-09-01, 15:11
- Location: Milan Italy
Re: wrong popup e.g. on http://forum.milanotrasporti.org
As the other time ... what could be causing the anomalous behaviour in my case in all profiles ?
The reasonable man adapts himself to the world: the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. (G.B. Shaw)
-
Moonchild
- Project founder

- Posts: 38690
- Joined: 2011-08-28, 17:27
- Location: Sweden
Re: wrong popup e.g. on http://forum.milanotrasporti.org
I don't really know. Whatever itis, it'll be something system-wide. Perhaps you are using an antivirus that is interfering, that replaces the response with a webpage if it thinks it's bad? I'm guessing here. Maybe someone else has a better idea?Lucio Chiappetti wrote: ↑2025-11-24, 13:56As the other time ... what could be causing the anomalous behaviour in my case in all profiles ?
"There is no point in arguing with an idiot, because then you're both idiots." - 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
-
Lucio Chiappetti
- Keeps coming back

- Posts: 875
- Joined: 2014-09-01, 15:11
- Location: Milan Italy
Re: wrong popup e.g. on http://forum.milanotrasporti.org
No, no antivirus, and I'm on Linux (x)ubuntu 24.04. Pale moon latest 33.9.1
I use uBo but I get the same in safe mode or with a fresh profile, which should not use any add-on.
BTW I just tried on a remote system (an old Opensuse frozen to Pale Moon 33.2.0) and it does not give any problem.
Since at least two of the sites which give problem (the ones I posted here) are some sort of document archives from an Italian public administration (ISS or Regione Lombardia), it might be they use some common third party infrastructure which announces the documents with a wrong http header. But could be depend also on the country whetre the browser is run ?
I use uBo but I get the same in safe mode or with a fresh profile, which should not use any add-on.
BTW I just tried on a remote system (an old Opensuse frozen to Pale Moon 33.2.0) and it does not give any problem.
Since at least two of the sites which give problem (the ones I posted here) are some sort of document archives from an Italian public administration (ISS or Regione Lombardia), it might be they use some common third party infrastructure which announces the documents with a wrong http header. But could be depend also on the country whetre the browser is run ?
The reasonable man adapts himself to the world: the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. (G.B. Shaw)
-
Moonchild
- Project founder

- Posts: 38690
- Joined: 2011-08-28, 17:27
- Location: Sweden
Re: wrong popup e.g. on http://forum.milanotrasporti.org
well the headers are:
So as I explained before elsewhere, it's an attachment and it is indicated as an unspecified binary stream, so being given the option to save only is logical if your system is set up that way (in MIME types), so it will at least never try to display it in-browser with that header logic.
So this means it's handed off to the external application handler for whatever is associated with ".pdf"; if you have no association on extension on your system it will treat it as an arbitrary binary download. It's possible you have a MIME type association for pdf, but not necessarily a file extension association? Linux can be rather opaque in that respect.
Code: Select all
Content-Disposition:"attachment;filename=RL_RLAOOS1_2024_103.pdf"
Content-Type:"application/octet-stream"
Server:"Apache-Coyote/1.1"
So this means it's handed off to the external application handler for whatever is associated with ".pdf"; if you have no association on extension on your system it will treat it as an arbitrary binary download. It's possible you have a MIME type association for pdf, but not necessarily a file extension association? Linux can be rather opaque in that respect.
"There is no point in arguing with an idiot, because then you're both idiots." - 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
-
FranklinDM
- Add-ons Team

- Posts: 638
- Joined: 2017-01-14, 02:40
- Location: Philippines
Re: wrong popup e.g. on http://forum.milanotrasporti.org
I'm on Linux and this is the pop-up I get:
I do have a PDF reader installed and it doesn't appear in the list of applications that I can select in this pop-up (unlike other PDF files from other links, where it does show up correctly). I'm guessing it does have something to do with the generic content type sent by the server.
Other source/link (research article from an online journal):
Other source/link (research article from an online journal):
You do not have the required permissions to view the files attached to this post.
-
RealityRipple
- Keeps coming back

- Posts: 918
- Joined: 2018-05-17, 02:34
- Location: Los Berros Canyon, California
Re: wrong popup e.g. on http://forum.milanotrasporti.org
If it says "HTML Document" for the type on the PDF, that sounds like you hard-associated PDF files with your web browser. I think you can find your association list at /usr/share/applications/defaults.list?
-
Lucio Chiappetti
- Keeps coming back

- Posts: 875
- Joined: 2014-09-01, 15:11
- Location: Milan Italy
Re: wrong popup e.g. on http://forum.milanotrasporti.org
I do not have any usr/share/applications/defaults.list and I doubt it will apply to my case (I run without a DE, under fvwm).
I do have various .mailcap and .mime.types in my home, but I guess they are irrelevant for Pale Moon (they are honoured by my MUA e.g. to spawn pdf viewer on pdf mail attachments incorrecty sent as octet-stream).
I would be agreeable to junk selectively mimeTypes.rdf or parts of it in my profile, if that is the only file affecting this behaviour, but the fact that I get the same behaviour in safe mode or on a fresh profile does not look promising for this action.
This is an excerpt of my Preferences->Applications Most of them were added getting a prompt and adding a new application. The many pdf ones are historical and did work. The one to force JPEG in Pale Moon is relatively recent. The HTML one was done temporarily enabling addon NewMime 1.7 when I had the first experience with the new popup. But did not cure it.
Incidentally I sometimes get popups suggesting Save As for files for which it is appropriate (tar.gz or zip archives). But if offers also an option of another application (maybe engrampa, which I never used). OI never got one with only the possibility to Save
BTW, I inherited most of my profile from the Suse machine which I mentioned, on which an older frozen Pale Moon works. I cannot swear that the unpleasant behaviour on *buntu appeared after a given Pale Moon upgrade. I am inclined to think it is unrelated to the OS upgrade which occurred at the beginning of the year. The unpleasant behaviour is a recent thing (either on new websites or changed ones)
I do have various .mailcap and .mime.types in my home, but I guess they are irrelevant for Pale Moon (they are honoured by my MUA e.g. to spawn pdf viewer on pdf mail attachments incorrecty sent as octet-stream).
I would be agreeable to junk selectively mimeTypes.rdf or parts of it in my profile, if that is the only file affecting this behaviour, but the fact that I get the same behaviour in safe mode or on a fresh profile does not look promising for this action.
This is an excerpt of my Preferences->Applications Most of them were added getting a prompt and adding a new application. The many pdf ones are historical and did work. The one to force JPEG in Pale Moon is relatively recent. The HTML one was done temporarily enabling addon NewMime 1.7 when I had the first experience with the new popup. But did not cure it.
Incidentally I sometimes get popups suggesting Save As for files for which it is appropriate (tar.gz or zip archives). But if offers also an option of another application (maybe engrampa, which I never used). OI never got one with only the possibility to Save
BTW, I inherited most of my profile from the Suse machine which I mentioned, on which an older frozen Pale Moon works. I cannot swear that the unpleasant behaviour on *buntu appeared after a given Pale Moon upgrade. I am inclined to think it is unrelated to the OS upgrade which occurred at the beginning of the year. The unpleasant behaviour is a recent thing (either on new websites or changed ones)
You do not have the required permissions to view the files attached to this post.
The reasonable man adapts himself to the world: the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. (G.B. Shaw)
