I had written a custom HTML/javascript application and wanted to run it in a android browser on my Redmi Note4.
Firstly I activated javascript in all the browsers (MIUI default browser,chrome,firefox).Then,I tried opening the file directly from the file manager,but it only loaded html but not javascript.
Afterthat ,I pasted the file path
content://com.mi.android.globalFileexplorer.myprovider/external_files/...
in the browser but even in this case only html was recognised but not javascript.However as seen from this forum thread here,this solution has worked on other phones. Is there any way to detect javascript in MIUI10 OS?