Firefox Keeps Changing File Extensions for 'Odd' File Type க்கான சமீபத்திய பதில்கள்https://support.mozilla.org/ta/questions/13196592020-12-29T22:49:15-08:00dewdrp said
jonzn4SUSE said
Here is a link to my handler_json file text. Create a new one with the 2020-12-29T22:49:15-08:00AliceWymanhttps://support.mozilla.org/ta/questions/1319659?page=2#answer-1379901<em><p>dewdrp <a href="#answer-1379837" rel="nofollow">said</a></p></em>
<blockquote><em><p>jonzn4SUSE <a href="#answer-1379817" rel="nofollow">said</a></p></em>
<blockquote>Here is a link to my handler_json file text. Create a new one with the text from the below link.
<a href="https://pastebin.com/2tD9XFEC" rel="nofollow">https://pastebin.com/2tD9XFEC</a>
</blockquote>
<p>I did try to make a new handler json file, copy and pasted yours exactly, but still no luck on my end. It's sad but I have ended up using the extension that was linked to, which solves my problem at the moment, and thank you for talking to me for these last couple of days trying to help out. I really appreciate it.
</p>
</blockquote>
<p>This post was marked as spam by the forum software. I cleared the flag.
</p>jonzn4SUSE said
Here is a link to my handler_json file text. Create a new one with the text from th2020-12-29T13:31:32-08:00dewdrphttps://support.mozilla.org/ta/questions/1319659?page=2#answer-1379837<em><p>jonzn4SUSE <a href="#answer-1379817" rel="nofollow">said</a></p></em>
<blockquote>Here is a link to my handler_json file text. Create a new one with the text from the below link.
<a href="https://pastebin.com/2tD9XFEC" rel="nofollow">https://pastebin.com/2tD9XFEC</a>
</blockquote>
<p>I did try to make a new handler json file, copy and pasted yours exactly, but still no luck on my end. It's sad but I have ended up using the extension that was linked to, which solves my problem at the moment, and thank you for talking to me for these last couple of days trying to help out. I really appreciate it.
</p>jscher2000 said
This is very similar to a thread about .story files that the server in that case als2020-12-29T13:29:40-08:00dewdrphttps://support.mozilla.org/ta/questions/1319659?page=2#answer-1379836<em><p>jscher2000 <a href="#answer-1379821" rel="nofollow">said</a></p></em>
<blockquote>This is very similar to a thread about .story files that the server in that case also identified as being <strong>application/zip</strong> type files (<a href="https://support.mozilla.org/questions/1318447" rel="nofollow">.story files converted to .zip upon download</a>).
</blockquote>
<p>Thank you, that does work, I just wish that I didn't have to rely on an extension for something that was working a couple days ago, and also already using 20+ extensions for various things.
</p><p>I will use it seeing as I download multiple files with this extension pretty much every day. Thank you for sharing your extension by the way, I appreciate that there is a way to fix this even if it's not an ideal solution for myself.
</p>This is very similar to a thread about .story files that the server in that case also identified as 2020-12-29T10:20:15-08:00jscher2000https://support.mozilla.org/ta/questions/1319659#answer-1379821<p>This is very similar to a thread about .story files that the server in that case also identified as being <strong>application/zip</strong> type files (<a href="https://support.mozilla.org/questions/1318447" rel="nofollow">.story files converted to .zip upon download</a>).
</p><p>I don't know why Firefox 84 has started "correcting" the file extension in these cases. Perhaps it was to fix some other problem?
</p><p>(I have attached the Browser Console info showing the Content-Type sent by the server, for reference.)
</p>
<hr>
<p>If you would consider using an add-on to work around this, I have a suggestion.
</p><p>I have an extension called Content-Type Fixer that checks the file extensions of downloads and lets you override the Content-Type. Here's how you would set that up for these files:
</p><p>(1) Install the extension: <a href="https://addons.mozilla.org/firefox/addon/content-type-fixer/" rel="nofollow">https://addons.mozilla.org/firefox/addon/content-type-fixer/</a>
</p><p>(2) Click its Zzzz button to start it
</p><p>(3) Trigger the download (you can cancel after you get the dialog)
</p><p>(4) Click the toolbar button again to open the menu, then "Add/Edit Content Types (View Log)"
</p><p>(5) Near the top of the log, find the problem download, and click its "Add" button
</p><p>(6) I don't think there is an official MIME type for these files, so you can simply keep the suggested fictitious MIME type and click Save Content-Type
</p><p><img src="https://user-media-prod-cdn.itsre-sumo.mozilla.net/uploads/images/2020-12-29-18-18-45-178c5b.png">
</p><p>(7) Switch to your tab with the link and try the download again -- the dialog should look more like the attached image:
</p><p><img src="https://user-media-prod-cdn.itsre-sumo.mozilla.net/uploads/images/2020-12-29-18-15-48-9d6f7e.png">
</p><p>Success? That should continue while the extension is "awake" (if you need to go back to the built-in handling, you can disable the overriding from the menu or turn off the extension).
</p>Here is a link to my handler_json file text. Create a new one with the text from the below link.
ht2020-12-29T09:57:04-08:00jonzn4SUSEhttps://support.mozilla.org/ta/questions/1319659#answer-1379817<p>Here is a link to my handler_json file text. Create a new one with the text from the below link.
</p><p><a href="https://pastebin.com/2tD9XFEC" rel="nofollow">https://pastebin.com/2tD9XFEC</a>
</p>Let's try again...
The site works for me in Win 10. see screenshot.
2020-12-29T09:54:42-08:00jonzn4SUSEhttps://support.mozilla.org/ta/questions/1319659#answer-1379816<p>Let's try again...
The site works for me in Win 10. see screenshot.
</p>What happen to my post moderators? It was there for a minute and now it's gone.
2020-12-29T09:46:07-08:00jonzn4SUSEhttps://support.mozilla.org/ta/questions/1319659#answer-1379815<p>What happen to my post moderators? It was there for a minute and now it's gone.
</p>That browser console looks interesting, but I'm not sure how to replicate the steps needed for this 2020-12-29T09:25:21-08:00jonzn4SUSEhttps://support.mozilla.org/ta/questions/1319659#answer-1379812<p>That browser console looks interesting, but I'm not sure how to replicate the steps needed for this issue.
</p>Interesting... I thought I already tested in Win10, but anyway it's working for me. see screenshot
2020-12-29T09:18:08-08:00jonzn4SUSEhttps://support.mozilla.org/ta/questions/1319659#answer-1379811<p>Interesting... I thought I already tested in Win10, but anyway it's working for me. see screenshot
</p><p>I'm also going to post my handlers.json file. Save your current as old_handler.json and make a new one with mine. Close the browser, reopen it and cross your fingers. &nbsp;;-))
</p><p>Here is the path to my file. Just put in your username and you should find the file.
C:\Users\<em><strong>username</strong></em>\AppData\Roaming\Mozilla\Firefox\Profiles\vd1v32ob.default &lt;---- Verify your current profile by going to the help page in your browser under Trouble shooting info
</p><pre>*** handler.json ***
</pre>
<pre>{"defaultHandlersVersion":{"en-US":4},"mimeTypes":{"application/pdf":{"action":2,"extensions":["pdf"],"ask":true},"application/x-zip-compressed":{"action":0,"ask":true,"extensions":["zip"]},"image/jpeg":{"action":0,"ask":true,"extensions":["jpg"]},"text/html":{"action":0,"ask":true,"extensions":["html"]},"text/xml":{"action":3,"extensions":["xml"]},"image/svg+xml":{"action":2,"extensions":["svg"],"ask":true},"image/webp":{"action":3,"extensions":["webp"]}},"schemes":{"ircs":{"action":2,"ask":true,"handlers":[null,{"name":"Mibbit","uriTemplate":"<a href="https://www.mibbit.com/?url=%s" rel="nofollow">https://www.mibbit.com/?url=%s</a>"}]},"mailto":{"action":4,"handlers":[null,{"name":"Yahoo! Mail","uriTemplate":"<a href="https://compose.mail.yahoo.com/?To=%s" rel="nofollow">https://compose.mail.yahoo.com/?To=%s</a>"},{"name":"Gmail","uriTemplate":"<a href="https://mail.google.com/mail/?extsrc=mailto&amp;url=%s" rel="nofollow">https://mail.google.com/mail/?extsrc=mailto&amp;url=%s</a>"}]},"irc":{"action":2,"ask":true,"handlers":[null,{"name":"Mibbit","uriTemplate":"<a href="https://www.mibbit.com/?url=%s" rel="nofollow">https://www.mibbit.com/?url=%s</a>"}]},"webcal":{"action":2,"ask":true},"sfb":{"action":4},"hpdia2":{"action":4,"ask":true},"hpwebproductsdetection3":{"action":4},"hpwebproductsdetection2":{"action":4}}}</pre><br>Could be something similar to another thread where content sniffing seems to change the file extensi2020-12-29T04:33:53-08:00cor-elhttps://support.mozilla.org/ta/questions/1319659#answer-1379742<p>Could be something similar to another thread where content sniffing seems to change the file extension to match the detected file type.
</p>
<ul><li><a href="/questions/1319324" rel="nofollow">/questions/1319324</a> When downloading xmp files, they are changed to xml
</li></ul>Hopefully they can, I also have the file type in my Applications but again it's still stuck download2020-12-28T16:48:04-08:00dewdrphttps://support.mozilla.org/ta/questions/1319659#answer-1379629<p>Hopefully they can, I also have the file type in my Applications but again it's still stuck downloading them as .zip files. Also it's really strange because up until probably yesterday or the day before it was downloading that file type fine. Though I can't remember if my Firefox updated or not so who knows...
</p>Ok, I found something that's heading in the right direction, but I cannot get that file type to work2020-12-28T16:27:55-08:00jonzn4SUSEhttps://support.mozilla.org/ta/questions/1319659#answer-1379628<p>Ok, I found something that's heading in the right direction, but I cannot get that file type to work.
Maybe one of the <strong>moderators</strong> can help get .ts4script in the handlers.json file and then have Firefox not see the file as a .zip. I got the file type in my Applications, but the browser is stuck on .zip. see screenshot
</p><p><a href="https://support.mozilla.org/en-US/questions/1262664" rel="nofollow">https://support.mozilla.org/en-US/questions/1262664</a>
</p>Oh yay so it's not just my computer being a jerk! And my post was approved so that's nice lol, but y2020-12-28T15:27:23-08:00dewdrphttps://support.mozilla.org/ta/questions/1319659#answer-1379627<p>Oh yay so it's not just my computer being a jerk! And my post was approved so that's nice lol, but yeah that's what is happening for me exactly, no matter if I have Firefox save it automatically to my Downloads directory or if I have it ask me every time.
</p>I now see the issue also in linux. see screenshot
2020-12-28T15:19:09-08:00jonzn4SUSEhttps://support.mozilla.org/ta/questions/1319659#answer-1379626<p>I now see the issue also in linux. see screenshot
</p>This is the post I was downloading from in my first post though.
https://www.patreon.com/posts/leroi2020-12-28T14:51:35-08:00dewdrphttps://support.mozilla.org/ta/questions/1319659#answer-1379623<p>This is the post I was downloading from in my first post though.
<a href="https://www.patreon.com/posts/leroidetout-stop-41967978" rel="nofollow">https://www.patreon.com/posts/leroidetout-stop-41967978</a>
</p>Like I said earlier, I tried to link the post that has a file that is changing but when I hit post i2020-12-28T14:51:13-08:00dewdrphttps://support.mozilla.org/ta/questions/1319659#answer-1379622<p>Like I said earlier, I tried to link the post that has a file that is changing but when I hit post it said a moderator has to review it, I'm assuming because of the link. Let me try again and see...
</p><p>EDIT: Nope, it won't let me post the link.
</p>Is it possible for me to download the file?
2020-12-28T14:47:47-08:00jonzn4SUSEhttps://support.mozilla.org/ta/questions/1319659#answer-1379620<p>Is it possible for me to download the file?
</p>I created a .ts4script file and download it from my one drive and extension did not change.
2020-12-28T14:45:06-08:00jonzn4SUSEhttps://support.mozilla.org/ta/questions/1319659#answer-1379619<p>I created a .ts4script file and download it from my one drive and extension did not change.
</p>I did change it to always ask before posting to be sure. Even when I changed it to 'always ask' fire2020-12-28T14:40:56-08:00dewdrphttps://support.mozilla.org/ta/questions/1319659#answer-1379617<p>I did change it to always ask before posting to be sure. Even when I changed it to 'always ask' firefox was still trying to download the file as a zip file. Except then I had to pick where the file downloaded to.
</p><p>I'm <strong>not</strong> trying to open the file at all, it needs to stay as a .ts4script for the game to be able to read it. I just want it to download as it's file type so I can move it to another folder.
</p>I'm curious... you mentioned that this is file is a zipped up file. What happens when you use Chrom2020-12-28T14:36:50-08:00jonzn4SUSEhttps://support.mozilla.org/ta/questions/1319659#answer-1379616<p>I'm curious... you mentioned that this is file is a zipped up file. What happens when you use Chrome or Edge to download the file?
Since TS4SCRIPT archives are compressed with Zip compression why not just change the setting in your screenshot to "Always ask" what to do with the file instead of using 7zip. This setting appears to be why Firefox is going with .zip.
</p>