How does Mobile H5 AJAX support Local file Protocol

how to make the mobile browser ajax support the local file protocol?
I know that the chrome on the PC side only needs to add the startup parameter-- allow-file-access-from-files.
but mobile can"t handle it.
I look forward to your advice from prawns. Thank you!

clipboard.png

Mar.19,2021

. Do you want to find a D drive on your phone?

just think of the browser as a black box. In fact, your front-end code does run in sandboxie. You can't see the outside in the box, you can only call the encapsulated API and limited information, forget the local file system, it is possible for the user to take the initiative to give you the file.

Menu