rejetto / hfs

HFS is a web file server to run on your computer. Share folders or even a single file thanks to the virtual file system.
GNU General Public License v3.0
2.29k stars 227 forks source link

Page empty In legacy browsers #567

Closed cnzyan closed 6 months ago

cnzyan commented 6 months ago

could be any posibillty to add compatiblity with legacy browsers like ie,firefox esr 50, there are still lot of apps only work with legacy browsers in china,sometimes users use those legacy browsers to visit host hosted by hfs, then they only got empty page. IF this compatibility cannot be added soon,could you just add a static page to advice users to change a modern browser?

cnzyan commented 6 months ago

微信图片_20240423093019

rejetto commented 6 months ago

i will add the message for next release. At the moment i'm supporting chrome 69+. I don't know about firefox, but maybe it's 68+. i've spent a few hours to attempt compatibility with previous versions, but still no result. Enabling legacy plugin on my building system still produce an error about BigInt. Hopefully someone will come with a solution.

W-i-n-7 commented 6 months ago

i run in to this too alot though in my case it shows wallpaper with nothing on it because of my plugin - still same issue

W-i-n-7 commented 6 months ago

i will add the message for next release. At the moment i'm supporting chrome 69+. I don't know about firefox, but maybe it's 68+. i've spent a few hours to attempt compatibility with previous versions, but still no result. Enabling legacy plugin on my building system still produce an error about BigInt. Hopefully someone will come with a solution.

would it be possible to show a basic directory listing for unsupported browsers directory-listing-index-of

rejetto commented 6 months ago

it is possible, of course, but that's not the path i'm trying

W-i-n-7 commented 6 months ago

it is possible, of course, but that's not the path i'm trying

i guess that could be a toggle in the options page i like options 😀 am i being too pushy again

rejetto commented 6 months ago

pushy? nope, just saying nonsense 😁

rejetto commented 6 months ago

i've got basic navigation working on firefox 50. time for bed. keep you posted

cnzyan commented 6 months ago

great progress

---Original--- From: "Massimo @.> Date: Wed, Apr 24, 2024 07:37 AM To: @.>; Cc: @.**@.>; Subject: Re: [rejetto/hfs] Page empty In legacy browsers (Issue #567)

i've got basic navigation working on firefox 50. time for bed. keep you posted

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

rejetto commented 6 months ago

please, have a look 0.53.0-alpha0.1 https://github.com/rejetto/hfs/files/15094775/hfs-windows.zip

cnzyan commented 6 months ago

now when visit hfs sites,legacy browser show a text says"please use a newer browser" it will be better if this message can set manually in admin panel

---Original--- From: "Massimo @.> Date: Wed, Apr 24, 2024 21:18 PM To: @.>; Cc: @.**@.>; Subject: Re: [rejetto/hfs] Page empty In legacy browsers (Issue #567)

please, have a look 0.53.0-alpha0.1 https://github.com/rejetto/hfs/files/15094775/hfs-windows.zip

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

rejetto commented 6 months ago

so you tested a legacy browser that is showing the message and not the list of files? what browser+version is ?

W-i-n-7 commented 6 months ago

i see you like options too :D

cnzyan commented 6 months ago

it is ie compatible mode ie7 will show file list in some browsers? i will test other legacy browsers

---Original--- From: "Massimo @.> Date: Thu, Apr 25, 2024 01:09 AM To: @.>; Cc: @.**@.>; Subject: Re: [rejetto/hfs] Page empty In legacy browsers (Issue #567)

so you tested a legacy browser that is showing the message and not the list of files? what browser+version is ?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

cnzyan commented 6 months ago

so you tested a legacy browser that is showing the message and not the list of files? what browser+version is ?

image in ie11 ,it says the same “Please use a newer browser ” console show errors as upper image: SCRIPT5009: “Promise” undefined polyfills-legacy-C-piKXgA.js (4,5556) SCRIPT5009: “Promise” undefined polyfills-legacy-C-piKXgA.js (4,5096)

cnzyan commented 6 months ago

image the ie11 debuger show this point

cnzyan commented 6 months ago

test ok in Firefox 50 test show "please use a newer browser" in chrome 48

---Original--- From: "Massimo @.> Date: Thu, Apr 25, 2024 01:09 AM To: @.>; Cc: @.**@.>; Subject: Re: [rejetto/hfs] Page empty In legacy browsers (Issue #567)

so you tested a legacy browser that is showing the message and not the list of files? what browser+version is ?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

rejetto commented 6 months ago

i've found how to support basic navigation "down" to firefox 30, but with a +40% on the size of the page, and for the time being i'm going to adopt this solution.

rejetto commented 6 months ago

this version provides basic navigation for old browsers 0.53.0-alpha2.1 hfs.exe.zip

cnzyan commented 6 months ago

great,tested ok in ie11

---Original--- From: "Massimo @.> Date: Sat, May 11, 2024 05:44 AM To: @.>; Cc: @.**@.>; Subject: Re: [rejetto/hfs] Page empty In legacy browsers (Issue #567)

this version provides basic navigation for old browsers 0.53.0-alpha2.1 hfs.exe.zip

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

rejetto commented 6 months ago

solved in 0.53.0-alpha3 thanks