rejetto forum

HFS v2.3m - Open Directly In Browser (Download Button on page)

0 Members and 1 Guest are viewing this topic.

Offline ἄπειρον

  • Occasional poster
  • *
    • Posts: 1
    • View Profile
How would I add or is there already a download button for files put into the option (menu>other options>Open directly in browser...) or using the MIME types.

Ex. when in playing or viewing window for (TESTED) .MP3, .FLAC, .WAV, .SVG, .PNG, .JPG, .MP4, or .AVI files "http:// hostname/example.svg.". Also the picture shows an example of how it's done on https:// en.wikipedia.org/wiki/Wikipedia#/media/File:Wikipedia-logo-v2.svg (wikipedia) when you click on an image and then click the down pointing arrow in the right bottom corner...

If it doesn't exist in the mainline version, would I edit the template file and how? Also I'm aware you can right click and either save file as, save video as, save audio as, or save page as, it's just simpler if there's a button semi-hidden that you can bring up by clicking similar to wikipedia.
« Last Edit: July 26, 2023, 04:05:38 PM by ἄπειρον »


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13521
    • View Profile
hey, I gave a quick look and I didn't found any way, even by modifying the template, to get what you want with HFS 2.* .

What you are asking is anyway already available in HFS 3. You may consider that
https://github.com/rejetto/hfs