I have an offline saved htm web page on sdcard to test Javascript. The default render on my phone seems to be HTML Viewer. But when I tried to open the page, the code didn't run. I know this because there's some html tag in the page I was added to detect this:

<script type="text/javascript"> /* my Javascripts */ </script>
<noscript> The current browser can't run Javascript. </noscript>

which displays on the page: "The current browser can't run Javascript."

So how can I enable Javascript in HTML Viewer? Both Opera and Browser are somehow can't found out the file when I typed in the address textbox:


The problem exist on almost any phone. But the later just works on some of my phone. Another not.

  • Don't use localhost. Let me know if the answers here helps: Open Web Page in Browser (not on SD card)
    – geffchang
    Commented Dec 3, 2013 at 14:11
  • Both localhost and mnt/ can't open the site in opera and browsers on some of my phones. But others can. I still don't know why...
    – tvc
    Commented Dec 3, 2013 at 14:20
  • Have you enabled JavaScript on your browsers? Check the settings, maybe it's disabled.
    – geffchang
    Commented Dec 3, 2013 at 14:22
  • I can't find out a context menu of HTML Viewer. Browser has a context menu, and I can change Javascript settings from there. But Browser can't found the file on sdcard. So HTML Viewer is the only choice. And it seems not running Javascript.
    – tvc
    Commented Dec 4, 2013 at 5:28

1 Answer 1


HTML Viewer is part of Android OS and i felt it has no javascript engine, just HTML Viewer not HTML Browser.

Try to access it to your browser


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .