• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Help HTML cannot open another HTML while direct url from Chrome works

gonen52

Lurker
Hi

I have HTML that runs in Android.
This HTML needs to open another HTML

After days, Dannydet pointed to me that as from Android 11 - Chrome will recognize a file - only if it is located in the Downloads folder.

this was a great start and when I entered url like this:
"file:///storage/emulated/0/Android/data/com.android.chrome/files/Download/Final_Days.html"
directly in Chrome - it worked !!

but, when I try to run the same url - from HTML - using href or windows.open I always get
about:blank#blocked

I gave Chrome all permission I know.

Any idea why the Chrome direct url opens the HTML and the href/windows.open from HTML is blocked?
What did I miss?

thank you very much for any help
 
Back
Top Bottom