4 ms·
> clicking a link to a .m file triggers a download Firefox can be convinced to simply show you any resource that you know is some flavor of plain text if you o
by cxr 2y ago
> clicking a link to a .m file triggers a download
Firefox can be convinced to simply show you any resource that you know is some flavor of plain text if you open it in View Source mode, i.e. by constructing a view-source: URI out of the original URL and accessing it that way. So to bypass the download nag screen for Anchor.m, you'd access it as <view-source:https://www.w3.org/History/1991-WWW-NeXT/Implementation/Anchor.m https://www.w3.org/History/1991-WWW-NeXT/Implementation/Anch...> instead. This even works on Firefox for Android, but not Chrome. (Of course you don't need to construct these by hand most of the time; if you're on a page linking to a bunch of files that otherwise prompt you to download them, like the Apache directory listing in this case, you just view the source of the directory listing page and click the links in the href attribute values there.)
This is pretty useful in multiple circumstances—which of course means that someone at Mozilla Corp will remove it from Firefox or find some other way to stop you from doing this any day now.
- jraph 2y ago> which of course means that someone at Mozilla Corp will remove it from Firefox or find some other way to stop you from doing this any day now Mozilla has its fatal flaws and I'm all for pointing them out (loudly), but it seems like time would be better invested at actually pointing the real flaws. For all their flaws, I don't think they are out there actively trying to piss people off, even if it can feel like they are. I don't see why they would remove this. It doesn't seem like supporting this use case causes any complexity in the code or in the UI / UX. Hatred is not free, I would suggest spending it wisely. (of course, I know you are probably being sarcastic)
- deleted 2y ago[deleted]
- cxr 2y ago[flagged]
- robertlagrant 2y agoYour response's logic applies to your response far more than to theirs.
- cxr 2y ago[flagged]
- deleted 2y ago[deleted]