Now it works beautifully on old browsers!
(with some details)
Design/Layout ....
Okay.Search function ..
OK, it works.Login function ...
OK, works fine.Archive button ...
No, it does nothing.Delete button ....
No, it doesn't delete.Upload button ....
No, nothing gets uploaded.»
Summarizing: the 'archive', 'delete' and 'upload' button doesn't work on the '
oldbrowsers.tpl' version (I already know that file selection is done clicking on the time-stamp, but even selecting a file or folder those buttons doesn't work). Otherwise than that, great work!...
»
Researching: I noticed you used 'XMLHttpRequest GET' instead of 'fetch' to add support to legacy/old browsers. This is great, but doing this you have to release a special version for old browsers every time.
My main idea/suggestion was using a 'polyfill', and after doing a search, I've found
THIS:
<script src="https://unpkg.com/unfetch/polyfill"></script>
I've added that line on your normal '
mobil-light_V4.4.tpl' (you can directly embed
THIS file content on your template), and the page loads fine now on old browsers. Using this polyfill the buttons loads okay, but the files and folders are not shown. Perhaps doing some small tweaks, that polyfill can work with your original 'fetch' code (and that way you get the best of both worlds: you can continue using 'fetch', and when 'fetch' is not supported by the browser, that XHR polyfill does the rest).
On my search on internet, I've also found two interesting articles: Why I still use XHR instead of the Fetch API (and how to use a Promise-based XHR). A very nice read, even for 2019 (this blog also has very nice articles!).