arivero
07-13-2006, 12:18 PM
An amusing experiment could be to investigate what kind of document files are supported and how.
For instance, rename your .pdf document to .txt or .aaa. Does it still recognised it as a pdf file? If so, they are using the 'file' instruction from unix.
Try exotic files: PERL, php, sh, py and so on. Does it recognise some of these? Then you have scripts.
Try HTML files containing javascript. Does it work?
Try different versions of .jpg .bmp .png .pgm and similar bitmap files, not only black/white
arivero
07-13-2006, 01:00 PM
Does the following (http://www.w3schools.com/js/tryit.asp?filename=tryjs_browser) .html document show in an iRex?
<html>
<body>
<script type="text/javascript">
var browser=navigator.appName
var b_version=navigator.appVersion
var version=parseFloat(b_version)
document.write("Browser name: "+ browser)
document.write("<br />")
document.write("Browser version: "+ version)
</script>
</body>
</html>
Or, this another?
http://www.w3schools.com/js/tryit.asp?filename=try_dom_navigator
And this one?
http://www.w3schools.com/js/tryit.asp?filename=tryjs_fornext_header
rlauzon
07-24-2006, 05:50 PM
Does the following .html document show in an iRex?
Yes, it does.
Browser Name: Netscape
Browser Version: 5
I didn't test out the other ones yet, but it looks like at least some javascript works.
rlauzon
07-24-2006, 06:32 PM
Or, this another?
http://www.w3schools.com/js/tryit.asp?filename=try_dom_navigator
And this one?
http://www.w3schools.com/js/tryit.asp?filename=tryjs_fornext_header
Yes, both sets of HTML worked fine.
Tscherno
07-25-2006, 12:02 AM
An amusing experiment could be to investigate what kind of document files are supported and how.
For instance, rename your .pdf document to .txt or .aaa. Does it still recognised it as a pdf file? If so, they are using the 'file' instruction from unix.
Try exotic files: PERL, php, sh, py and so on. Does it recognise some of these? Then you have scripts.
Try HTML files containing javascript. Does it work?
Try different versions of .jpg .bmp .png .pgm and similar bitmap files, not only black/white
Format is recognized with the suffix. Only configured suffixes are opened.
See the config file here:
http://www.mobileread.com/forums/showpost.php?p=33049&postcount=4